How to boot RT1176 from Serial NAND NAND(W25N01GVZEIG) to SDRAM (32bits 64MB).
1) IDE using the MDK
2) Using the SDK M7 APP helloworld demo. and select the SDRAM-TXT-DEBUG
SDRAM debug( DAP link is OK). serial port can find the "hello world!"
3) Generate the HEX file
4) Using the MCU boot Utility V5.2.1,
--------------------------------------------
--------MCU Device ROM Info--------
Unique ID[31:00] = 0x828f4990
Unique ID[63:32] = 0x2a14900e
Current Version = K3.0.1
Target Version = T2.0.0
Life Cycle status = HAB Open
--------MCU Flashloader Info-------
Current Version = K2.7.0
Target Version = T1.0.4
--------MCU device eFusemap--------
(0x940) SYSBT_CFG0 = 0x0
(0x950) SYSBT_CFG1 = 0x0
(0x960) SYSBT_CFG2 = 0x8
BT_FUSE_SEL = 1'b0
When BMOD[1:0] = 2'b00 (Boot From Fuses), no app in boot device, MCU enters serial downloader mode directly
When BMOD[1:0] = 2'b10 (Internal Boot), MCU boots app according to both BOOT_CFGx pins and Fuse BOOT_CFGx
----------FlexRAM memory-----------
IOMUXC_GPR->GPR16 = --------
--------FlexSPI NAND memory-------
Page Size = 2.0 KB
Pages In Block = 64
--------------------------------------------
FLASH hellow SPI nand. ( boot mode[1:0] == 10, config1[7:6] == 11)
cannot boot from SPI nand.
My requirments:
1) ROM store in the SPI nand.
2) boot from SPI nand. and copy the image into SDRAM.
3) running.
Hi @pguan
Please look into this community thread:
This post is similar to your question.
Best Regards, Miguel.
Hi @pguan
I did not understand, what do you mean with "Cannot run. ( but MDK debug is OK.)"
Is it possible for you to provide more information?
Best Regards, Miguel.
Thank you for your comments!
5) Cannot run
means that the system (using the MCUBootutitly flash the NAND)cannot boot from NAND to SDRAM。
MDK Debug is OK means I can debug the application using the MDK(running in SDRAM)
I think that i would miss some operation or where is mis-understand.
MDK generate the HEX image --> MCUbootutility --> boot from NAND to SDRAM。
Hi @pguan
Sorry for the late reply,
You must change the configuration of the image to boot from the external SDRAM, refer to chapter 6.2.1.3 Image running from external SDRAM from the secure provisioning tool user's guide.
Best Regards, Miguel.