Boot from QSPI NOR fails on RT1170

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Boot from QSPI NOR fails on RT1170

ソリューションへジャンプ
1,947件の閲覧回数
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 件の賞賛
返信
1 解決策
1,885件の閲覧回数
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.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

4 返答(返信)
1,922件の閲覧回数
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 件の賞賛
返信
1,911件の閲覧回数
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 件の賞賛
返信
1,886件の閲覧回数
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,872件の閲覧回数
wlan
Contributor III

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

0 件の賞賛
返信