This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28377D boot ROM error

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

  • Jim,

    I'm wondering whether you are booting to wait boot mode. During boot time, what are the state of GPIO72 and GPIO84?


    In standalone boot mode, you can boot to flash only if, GPIO72 = 1, GPIO84 =1, OTP_KEY = 0x5A (and) OTP_BMODE = 0xB (or) any other value non assigned value as shown below.

    Regards,

    Manoj

  • Manoj,

    I found through process of elimination that I was getting Flash ECC error on boot-up; I was using the "DataOnly" argument when writing to flash like in the flash programming example. The argument needs to be "With ECC".

    Jim

  • I thought this was a closed issue, but it has come back at me again. I verified that GPIO72 and 84 are both 1, but the BOOTCTRL register is all zeros, which still should boot to flash.


    Now the internal boot rom fails at an ESTOP0 at address 0x3FDC65 --is it possible to get the source code for the F2837x boot rom so that I can trouble-shoot this?

    I downloaded all of my program-space from flash memory, and the program was loaded correctly, however it still wont boot.

    Thanks,

    Jim