I am implementing a bootloader for IMX.RT1064. I'm using ROM API to erase and program the new firmware. I'm trying to erase the section after the bootloader and it is not working. When I tried erasing the sector that doesn't has the program, the erase API worked. Whether the sectors with the program is protected?
Our goal is to implement a bootloader that can read the firmware from external SPI flash and program to the internal flash.
Hi
See the following for off-the-sheft loaders for the 1064:
- https://www.utasker.com/iMX/RT1064.html
- https://www.utasker.com/iMX/developers.html
Supporting various methods (USB, Ethernet, SD card, Memory stick, external SPI) and allowing operation in Xip, XiP-BEE encrypted, RAM and SDRAM (with optional AES256 storage in Flash).
Stable, fully documented and industrial proven solution.
Regards
Mark