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.

Update an application with FLASH ECC enabled through bootloader

Other Parts Discussed in Thread: RM46L852, NOWECC

Hi,

We are trying to update RM46L852's main application using a bootloader and after
the update, the application starts running.
Everything works well if the FLASH ECC in the application is set OFF,
but if we set FLASH ECC ON in the updated application, the application stops
working after the update.

The FLASH ECC of the bootlader program itself is set OFF.

Is it not possible to update an application which has FLASH ECC enabled?

Please let us know if there is any solution to this issue.

Best Regards
Kummi

  • Kummi,

    It sounds like that Flash ECC is not updated ot programmed when you update the flash content from the bootloader. Please make sure to update the ECC. You can enable ECC in the bootloader. The only limitation is that you cannot do a flash blank check with ECC enabled.

    Thanks and regards,

    Zhaohong
  • Hi Zhaohong,

    Thank you for the information.

    Regarding the "updating ECC" mentioned by you,
    please let me know what are the possible options do we have.
    will it be ok if we use "AUTO ECC" build options in CCSv6 to build the update application?

    I tried nowECC and Linker Generated ECC, but
    I was not able to build a proper Binary of the application code.
    The Binary(.bin) becomes very huge after appending ECC through nowECC or the Linker ECC.

    Best Regards
    kummi