Code Running from Debugger but Not Without it
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.