Implementing a bootloader Issue MIMXRT1064CVL5B

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Implementing a bootloader Issue MIMXRT1064CVL5B

706 Views
kksakthi
Contributor I

 

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.

0 Kudos
Reply
2 Replies

655 Views
mjbcswitzerland
Specialist V

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

 

0 Kudos
Reply

661 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

First of all, sorry for the later reply.

Please refer attached example code about ROM API usage.

Wish it helps.

best regards,

Mike

0 Kudos
Reply