Configurations for booting code from NOR flash in imxrt1010 processor

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

Configurations for booting code from NOR flash in imxrt1010 processor

458 Views
syed1
Contributor I

Hello,

We're currently using the MIMXRT1011CAE5A processor and have imported an SDK example (flexspi_nor_polling_transfer). We've made some changes to the code, which I'll provide in the link below.

As mentioned in the datasheet (IMXRT1010), BOOT_CFG1[7:4] should have the value 0x0000 for the selection of the boot device as NOR FLASH. However, when I tried to read the register BOOT_CFG1, it consists of the value 0xF (0000 1111). We have already transferred the GPIO toggle bin file into the NOR flash. We want to boot our device from the NOR flash. Are there any other configurations that we should consider for booting it from the NOR flash?boot.PNG

0 Kudos
Reply
2 Replies

395 Views
Sam_Gao
NXP Employee
NXP Employee

Hi @syed1 

Please check the Hardware Connections(Boot Mode PIN) carefully based on below reference instructions of RT1010RM.

"The boot ROM code uses the state of the internal register BOOT_MODE[1:0]  as well as the state of various eFUSEs and/or GPIO settings to determine the boot flow behavior of the device." 

1. Checking on BOOT_MODE, BOOT_CFG  

Sam_Gao_4-1715591688119.png

Sam_Gao_1-1715588948395.png

Sam_Gao_5-1715592446030.png

 

 

2. check  eFUSEs which determine boot type and determines whether the boot settings indicated by GPIO pins or the eFUSE settings

Sam_Gao_2-1715589738578.png

3. FlexSPI Serial NOR Flash Boot Operation (9.6.1.1 FlexSPI)

E.g. my configuration: BMOD(Boot Mode setting, 2b'10: Internal Boot), eFUSE(BT_FUSE_SEL is 0 when BMOD=0b'10, The bits of the SBMR are overridden by the GPIO pins), The vendor id of this Nor Flash is ox1f via flexSPI.

Sam_Gao_6-1715593307866.png

 

Have a nice day!

BR,

Sam

 

 

 

 

0 Kudos
Reply

420 Views
Sam_Gao
NXP Employee
NXP Employee

Hi @syed1 

Thanks for you question and interest in NXP products.

Based on the current information,I'm not sure the following suggestions or steps will help you.

1. Please note HW connection(e.g flexSPI_DQS should be float, wrong boot mode pin)

2. Please use offical example(flexspi_nor_polling_transfer) to get vendor ID for further investigation.

Sam_Gao_0-1715422005330.png

Have a nice day!

 

Warm Regards,

Sam

 

0 Kudos
Reply