Hi,
I am using custom designed board with MCF52254. I'd downloaded a sample code to blink a LED in that board. As long as the debugger is available, I am getting the output. Once I remove the debugger from the board, application is not working.
Can anyone pls tell me, What might be the problem? Either Software configuration or anything do I need to change in hardware?
Thanks.
-AJ
Solved! Go to Solution.
Hi CrasyCat,
Thanks for your info. It was very useful and the actual problem was some pull-ups were not given to the controller.
- Aloysius Jegan
Hello
Couple of questions here.
When you change from the debug to the stand alone version of your project did you pay attention to the following;
- Did you initialize the vector table and provide a correct reset vector at address 0x0000?
The processor will retrieve the application start address and stack pointer after reset from address 0x00 and 0x04.
- Did you add code to initialize configuration registers in your application? While in debug mode configuration registers are initialized in the .cfg file you have specified. You may need to set up the registers in your application for a proper setup.
- Do you have global variable declared with an initialization value in your application?
Generally speaking if you want to run a stand alone version of your application I would recommend you to use the INTERNAL_FLASH build target from your project to build the executable.
This build target takes care of the 3 item enumerated above.
CrasyCat
Hi CrasyCat,
Thanks for your info. It was very useful and the actual problem was some pull-ups were not given to the controller.
- Aloysius Jegan