[coldfire-gnu-discuss] Debugging code in Flash with SG++ Lite
Mark Mitchell
mark at codesourcery.com
Thu Oct 14 19:27:26 UTC 2010
On 10/14/2010 9:41 AM, Tarmo Kuuse wrote:
> I'm confused. The 52223 is not supposed to execute anything on address
> 0xa. On reset, ColdFire loads the stack pointer from address 0x0
> (=0x20008000), then the program counter from address 0x4 (=0x00000418)
> and finally executes the instruction at PC.
How are you linking the program? It's possible that something is
pointing at address 0xa, or failing to set up the initialization stuff
at address 0x0/0x4.
Thanks,
--
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
More information about the coldfire-gnu-discuss
mailing list