Bootloader and Application Code
Hi,
I don’t know exactly what washappening, but th ecode you are looping in seems to be that you are looking at an I/O device (its address seems to be in memory at address 0x801a200) waiting for bit 9 (0x200) of register at offset 40 (0x28) in this device to be set and, as this bit is never set, you loop indefinitly.
Now without more information, nobody can help you...
Anyway, does your application works correctly if started through the debugger?
Bernard (Ac6)