Electronic – Code Running from Debugger but Not Without it

debuggingjtag

I am using WindRiver JTAG Debugger to debug my code.
Whenever I run the code with Debugger connected, Code works correctly but If I disconnect it, It fails to even Start!

Has anyone faced such kind of Problems?

Best Answer

My debugger for a Coldfire does some initialization of the SDRAM controller and other low-level registers that is normally done by the bootloader. Check to see how your debugger initializes the chip.