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.
Any help will be appreciated,
Vic
Solved! Go to Solution.
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.
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
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).
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..
Best,
V
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.
-------------------------------------------------------------------------------
Indeed, the BT_FUSE_SEL was the one missing. Thank you!