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.

RM44L920: Qestion on the "Mirrored Flash" usage

Part Number: RM44L920

Dear Hercules-team,

If have got the following questions from my customer:

Is the “Mirrored Flash” available for application use cases?
[Matthias]:
I don’t think so. If I understand the TRM and datasheet correctly, the “Mirrored Flash” (starting at 0x20000000) is just used for the ECC mechanisms and of course does include the same content than the main flash (starting at 0x00000000). It is physically the same memory. So it cannot be used for any firmware update mechanisms.

Also, similarly, what are the options for this part to have a small bootloader code installed such that it cannot be easily erased?
[Matthias]:
I know, we do have bootloader examples for different interfaces and they have to be executed starting from 0x00000000. Do we have in the Hercules MCUs any mechanisms to protect certain flash sections (like for a bootloader) to be accidently erased?
I have not found anything in the documentation.

Thanks, BR,

Matthias

  • Hello Matthias,

    The sectors of the main flash can be protected from erase by disabling the sector (register FBSE). If the bootloader is located in sector 0 only, configuring FBSE to be 0xFFFE will protect the bootloader from being erased.