This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem in starting the project

I am using tiva c launch pad for my project.I have copied my startup file in my project and then wrote my code.When I start to debug my project the control remains in the start up file in reset handler section and never goes in my main program.
Please help.

Parents
  • So *((uint32_t *)SCB_CPACR_R) |= 0x00F00000; might provide you with an avenue to write the register as a 32-bit word

    You could also perhaps tell the tools not to use FPU code, and then it wouldn't be needed.

    Anyway the simulator support seems to have been overwhelmed with the number/variety of parts now available. Unless there's a very compelling reason not to use real hardware via a low cost break-out board, think about not depending on the simulator.

Reply
  • So *((uint32_t *)SCB_CPACR_R) |= 0x00F00000; might provide you with an avenue to write the register as a 32-bit word

    You could also perhaps tell the tools not to use FPU code, and then it wouldn't be needed.

    Anyway the simulator support seems to have been overwhelmed with the number/variety of parts now available. Unless there's a very compelling reason not to use real hardware via a low cost break-out board, think about not depending on the simulator.

Children
No data