Hi,
I am currently working with the MIMXRT1011DAE5A crossover MCU for one of my products and have designed a custom application board for this purpose.
I am trying to program a simple LED blink code using Serial Downloader mode, but it's not functioning as expected.
When I connect the board via the USB interface, it is detected in "Device Manager" with the correct VID and PID. However, once I attempt to connect with the ROM Bootloader using "NXP-MCUBootUtility.exe", the device automatically disconnects from the system, preventing any further connection to the bootloader.
I also attempted to program the device via JTAG. While the programming process appears successful, but the device does not enter in to RUN mode even we configure the bootmode pins for internal boot mode.
Could you please advise on how to resolve these issues?
Thanks and regards,
ShashiKumar Rai
Hi,
Thanks For Reply.
By using JTAG, we successfully executed the code in RAM. After configuring the MCU power-up sequence and setting the BOOT MODE PIN to internal boot mode, we were able to run the code from NOR flash memory successfully.
However, we are still experiencing issues with USB serial downloader mode. Any suggestions on this would be greatly appreciated.
Thanks & Regards,
ShashiKumar Rai
Hi @ShashiKumar
Thank you for your reply.
I am glad that you managed to get your board booting an XIP application.
Regarding your issue, please test in the following way, it takes arround 3 minutes.
1 Create a new folder and open a CMD window.
2 Install the SPSDK tool in your OS, by typing the commands listed in this guide https://spsdk.readthedocs.io/en/latest/usage/installation.html
3 Get the MCU into serial downloader mode and attach it to your PC.
4 In the CMD type nxpdevscan and share with me the results. Below an example, of a MCU that can be successfully programmed over USB serial downloader mode.
Best regards,
Diego
Hi,
Thanks For the response, apologise for delayed reply.
unable to open the link which you have shared, please provide any alternate way to open the link.
Thanks & Regards,
Shashi Rai
Hi @ShashiKumar
Please try this link for the installation guide of the SPSDK
However, I have an update for my previous suggestion.
If you already installed the MCUxpresso Secure Provisioning Tool v9 or above, you do not need to install the SPSDK, as you can open a CMD prompt and use the SPSDK installed for your SPT release. See the below example:
This way, you can test more easily and without installing more things.
Diego
Hi @ShashiKumar
Thank you for reaching out.
We would need to analize if this a HW problem. First of all check your design against our RT1010 Harware development guide ( MIMXRT1010HDUG ).
Some couple of things I would check then are:
1 Check connection using our MCUXpresso Secure Provisioning Tool , to this help us to rule out any MCU Boot Utility issue. The connection can be done this way.
2 Given your goal to program and run an application, you can check if it is possible to establish connection with the ROM bootloader but using LPUART1 pins. The pins that the bootrom uses are here.
You mentioned about USB problems so we can discard USB temporally and focus on getting something running on the MCU.
3 If you are able to program over JTAG but not able to execute. There are some points to check:
a) Application image boot headers not being correct for your target flash memory,
b) fuse setup, it is better to do board bring up without any fuse programmed. For example fuses can control boot flow and security aspects, like encryption and secure boot.
c) check if you can run a program linked and programmed only to internal RAM. This to narrow down the issue, in case the program can not execute in external flash memory.
I wish this could help you!
Diego