Can't not test another example. like led_blinked or Wi-fi examples.

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

Can't not test another example. like led_blinked or Wi-fi examples.

1,692 Views
yelin
Contributor II

I want to test another example like wi-fi example or hello_world example with MIMXRT1060-EVKB. 

But after flash a voice example once, I can not flash another example.

I tryed to use USB and push *.bin in USB driver to flash MIMXRT1060-EVKB.

But It doesn't work. 

How can I test another example??

0 Kudos
Reply
13 Replies

1,669 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  Except the MSD method, do you try the serial download mode, or the debugger to download the code? Whether it works or not?

  If you still have issues, you can do the mass erase at first.

  You can refer to my document:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta...

 

Wish it helps you!

If you still have question about it, please kindly let me know.

If your question is solved, please help to mark the correct answer, just to close this case, thanks.

Any new issues, welcome to create the new case.

Best Regards,

Kerry

0 Kudos
Reply

1,667 Views
yelin
Contributor II

I don't have JLINK, so I'm downloading it using USB.

I think using USB is serial download. is it right?

MSD operation will proceed without errors, but only local voice app will be executed when rebooted.

Can you tell me how to flash another demo app and run it?

0 Kudos
Reply

1,661 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  MIMXRT1060-EVKB already have the on board debugger CMSIS DAP, you can use that one, it also the same.

Do you already refer to my document:https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta...

That will tell you how to use the on board debugger or the SPT tool to do the mass erase in the serial download mode.

About the flash another demo app and run it, just use the on board debugger CMSIS DAP and in the internal boot mode is OK.

The demo, you can use the SDK, which can be download from this link:

https://mcuxpresso.nxp.com/en/builder?hw=MIMXRT1060-EVKB

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos
Reply

1,658 Views
yelin
Contributor II

Thank you so much for your kind reply and method.

But can I still apply the board I'm using even though it's SLN-SVUT-IOT?

Do I have to set all the values in Fig.12 by myself?

0 Kudos
Reply

1,653 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  Thanks for your information, you are using the SLN-SVUT-IOT, and not your mentioned MIMXRT1060-EVKB, the situation is different.

  I highly recommend you find one debugger, eg, JLINK, that will be more easy help you to do the debugging.

  But, if you don't like it, you also can download the bootloader:bootstrap, bootloader to the related address in the serial download mode.

  To this situation, you totally can use MCUBootutility:

https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v6.2.0
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility

  You also can refer to my document:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT106L-S-voice-control-system-based-on-the-Baidu...

That is based on the older voice board, but similar to you.

Seems I also need to write one document about your used SLN-SVUT-IOT.

You can test it on your side, and also collect the requirement, then I can consider it to write one document for you.

 

Best Regards,

Kerry

0 Kudos
Reply

1,651 Views
yelin
Contributor II

Do you know how to flash a demo app other than local voice demo app on SLN-SVUT-IOT?

0 Kudos
Reply

1,647 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  Yes, generate the bin file,then board enter the serial download mode, use the MCUBootutility tool  to download the bin to your external flash.

https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v6.2.0
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos
Reply

1,645 Views
yelin
Contributor II

Is the flash method only available for MCUBootUtility? Is the MSD method not available?

0 Kudos
Reply

1,639 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

 MSD working is based on your bootloader, bootstrap still working.

 What I am afraid is your bootloader+bootstrap is broken, then MSD can't work, you need to download the bootloader+bootstrap+app again.

  So, now, whether your MSD still can update the app or not?

  

 

Best Regards,

Kerry

0 Kudos
Reply

1,636 Views
yelin
Contributor II

I'm try to use NXP-MCUBootUtility. but it doesn't work. I can't connect..

yelin_0-1713864279604.png

 

0 Kudos
Reply

1,556 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

 Thanks for your updated information.

1. J61 remove 1-2, connect 2-3.

2. Power off and power on the board again

3. the MCUbootutility use the USB, then you will can find USB PID/VID.

Then try to connect it again on your side.

kerryzhou_0-1713944982440.png

Click connect to ROM, then you will find it is connected:

kerryzhou_1-1713945014603.png

 

Wish it helps you!

If you still have question about it, please kindly let me know.

Best Regards,

Kerry

0 Kudos
Reply

1,554 Views
yelin
Contributor II

I tried that, but the process bar didn't go any further at 80%.

0 Kudos
Reply

1,402 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  That's strange.

  You can find the USB PID/VID, right? Just can't download it?

  What's the boot device config you are using now? In fact, default is OK.

  If you still can't make it work, seems you board meet issues, as I share you the screenshot just from my own SLN-SVUT-IOT board.

 

Best Regards,

Kerry

0 Kudos
Reply