I am writing a custom bootloader, such that the bootloader code all resides in one flash segment, and the remaining flash area is upgraded with new code (from an external serial flash).
I am using the F021 Flash API, and I am able to erase, reprogram, and re-boot the new firmware application; however on the subsequent CPU restart (or power-cycle), the image does not boot. I have traced the error to an ESTOP0 that is called from the internal boot ROM -- at address 0x3fe1e5.
Can you send me the boot ROM source, or can you tell me what are the conditions that would cause this ESTOP call?
Thanks,
Jim