Boot from QSPI NOR fails on RT1170

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

Boot from QSPI NOR fails on RT1170

Jump to solution
1,937 Views
wlan
Contributor III

Hello All,

We are working on an RT1170 from TQ installed on a TQMa117xL module from TQ TQMa117xL | TQ (tq-group.com).

When developing with a JLink, all is well, the flash is programmed and the system runs fine but it will somehow not boot without the debugger. How can we debug this?

MCUXpresso Secure Provisioning tool confirms that the flash configuration is ok (please see below) but after generating the FCB and writing the image, the boot still fails. I've been stuck on this for several weeks now and lost on how to proceed.

2024-01-02 14_52_05-_MCUXpresso Secure Provisioning - C__Users_W_secure_provisioning0.png

Any help will be appreciated,

Vic

0 Kudos
Reply
1 Solution
1,875 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @wlan ,

 

How did you configure the BOOT_MODE? Was it 00 on your board? If yes, as BT_FUSE_SEL = 0, indicating that the boot device (for example, flash) was not
programmed yet, the boot flow jumps directly to the Serial Downloader out of POR without the debugger attached.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

4 Replies
1,912 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @wlan ,

 

Normally it is related with the HAB or DCD not configured if your application runs in SDRAM. 

Have you tried with some simple demo like led blinking ? Did it behave the same? Please kindly clarify.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,901 Views
wlan
Contributor III

Hello @Kan_Li 

Thanks for replying.

We are not using SDRAM at this point in the project so that is not a concern. Even a simple project which toggles a pin shortly after basic initialization does not work when the debugger is not connected.

Regarding HAB, it has always been disabled in the project (see below).

2024-01-03 11_09_50-_MCUXpresso Secure Provisioning - C__Users_W_secure_provisioning0.png

In our case BOOT_CFG is set to 00b and BOOT_CFG1[7:4] is also 0000b which should boot from Serial NOR. I don't think we're using an exotic configuration here but the system will just not boot..

2024-01-03 11_23_43-OTP Configuration, MIMXRT1176, COM6[baud=57600].png

2024-01-03 11_24_07-OTP Configuration, MIMXRT1176, COM6[baud=57600].png

2024-01-03 11_24_18-OTP Configuration, MIMXRT1176, COM6[baud=57600].png

Best,

V

0 Kudos
Reply
1,876 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @wlan ,

 

How did you configure the BOOT_MODE? Was it 00 on your board? If yes, as BT_FUSE_SEL = 0, indicating that the boot device (for example, flash) was not
programmed yet, the boot flow jumps directly to the Serial Downloader out of POR without the debugger attached.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,862 Views
wlan
Contributor III

Indeed, the BT_FUSE_SEL was the one missing. Thank you!

0 Kudos
Reply