Using UART for downloading the image on RT1060 board

cancel
Showing results for 
Search instead for 
Did you mean: 

Using UART for downloading the image on RT1060 board

404 Views
guenter_loettrich
NXP Employee
NXP Employee

Dear all,

I'm trying to use the UART via the mbed serial port on the RT1060EVK (in my case COM21) for downloading a firmware image to external XiP Flash.

pastedImage_1.png

I'm in serial boot mode by setting of SW7 to 0-0-0-1

The image is an unsigned one from SDK 2.7.1 "iled blinky".

When trying to write the image to external Flash via UART then the following error message occurs:

### Check presence of flashloader ###
blhost -p COM21,115200 -j -- get-property 1 0
{
"command" : "ping",
"response" : [],
"status" : {
"description" : "10500 (0x2904) No response received for ping command.",
"value" : 10500
}
}
blhost failed
Flashloader is not running yet, download and run it
### Check communication with target bootloader ###
sdphost -p COM21,115200 -j -- error-status
{
"command" : "error-status",
"response" : [],
"status" : {
"description" : "10004 (0x2714) No response from device.",
"value" : 10004
}
}
sdphost failed

Does that mean for serial download via UART the Flashloader has to be run additionally as the Boot ROM in RT1060 is not sufficient?

(P.S. Download via USB works well)

br

Guenter

0 Kudos
2 Replies

279 Views
b23204
NXP Employee
NXP Employee

Hi Guenter,

there should not be any major difference for UART, it should work same way as USB. Flashloader should be downloaded automatically by the write script.

Please double check, UART is correctly selected.

You can also try on command-line using

sdphost -p COM21,115200 -j -- error-status

whether connection with the ROM Bootloader can be established.

Regards

Marek

Regards,
Marek
0 Kudos

279 Views
guenter_loettrich
NXP Employee
NXP Employee

Hi Marek,

issue is solved.

It is not allowed to have USB OTG and UART connection at the same time. USB then seems to get precedence over UART.

Unplugging the USB cable from J9 made it work.

Would that be worth putting a NOTE into the documentation?

br

Guenter

0 Kudos