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?
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
2. check eFUSEs which determine boot type and determines whether the boot settings indicated by GPIO pins or the eFUSE settings
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.
Have a nice day!
BR,
Sam
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.
Have a nice day!
Warm Regards,
Sam