1
NXPTM M522XX, KINETIS and i.MX RT / Re: Debugging uTaskerV1.4_BM.elf on TWR-K64F120M in MCUXpresso
« on: January 12, 2018, 11:49:46 PM »
Yeah - if I had the bootloader in place and did not overwrite it, this would not have occurred. I thought I had tried that, but apparently not...
However, the IDE is inconsistent. It knows to not use the default PC location, but does use the default SP location.
So, this means if I place (and don't overwrite) any application at 0 that has the same start of stack that the 0x8000 code does, everything debugs fine. The IDE jumps straight to the 0x8000 code, but pulls the SP from 0x4 instead of 0x8004.
Anyway, thanks!
However, the IDE is inconsistent. It knows to not use the default PC location, but does use the default SP location.
So, this means if I place (and don't overwrite) any application at 0 that has the same start of stack that the 0x8000 code does, everything debugs fine. The IDE jumps straight to the 0x8000 code, but pulls the SP from 0x4 instead of 0x8004.
Anyway, thanks!
My goal is to get a bootloader system in place...