Hello all,
I am slowly piecing together a custom can bootloader and am stuck with the following setup:
1) I programmed the gpio example into flash sector c, and can see it working just fine during debug, or after fresh reboot
2) I then modified the f28069_can_flash_kernel to just blink the leds a bit and then return a hard coded entry point. (I used the _c_int00 memory location from the gpio example map)
3) I modify the target config for the f28069_can_flash_kernel to not erase flash sectors.
4) I flash the f28069_can_flash_kernel using the RAM linker file, and everything seems to work ok, get the bootloader blinks, and then the gpio example blinks
The problem comes when I try to move the f28069_can_flash_kernel to be stored in flash A, doing the exact same steps I did to move the gpio example to flash, namely, Using the other .cmd file and calling initFlash and doing some ramfuncs stuff.
What I observe is that the bootloader lights will blink as expected, but then it just seems to hang, the times I have been able to see what instruction was executing, it looked like it was stuck in boot rom somewhere.
Any tips on further debug ideas?