Unable to program the RT1011 for using serial downloader mode and using JTAG

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

Unable to program the RT1011 for using serial downloader mode and using JTAG

1,110件の閲覧回数
ShashiKumar
Contributor II

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.

ShashiKumar_0-1730803559656.png

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

タグ(1)
0 件の賞賛
返信
5 返答(返信)

1,013件の閲覧回数
ShashiKumar
Contributor II

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

1,003件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

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.

diego_charles_0-1731521971646.png

Best regards,

Diego

 

0 件の賞賛
返信

857件の閲覧回数
ShashiKumar
Contributor II

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

837件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @ShashiKumar 

Please try this link for the installation guide of the SPSDK

https://spsdk.readthedocs.io/en/latest/examples/_knowledge_base/installation_guide.html#installation... 

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:  

diego_charles_0-1732658972523.png

This way, you can test more easily and without installing more things. 

Diego

 

 

 

0 件の賞賛
返信

1,086件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

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.

diego_charles_1-1730842997476.png

 

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.

diego_charles_2-1730843348556.png

 

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

 

 

0 件の賞賛
返信