Re: [coldfire-gnu-discuss] Debugging code in Flash with SG++ Lite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] Debugging code in Flash with SG++ Lite



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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713