Uboot USB as usb serial for data transfer

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

Uboot USB as usb serial for data transfer

1,275 Views
jmjm
Contributor I

I'm now using iMX8ULP for my development, and want to change the Uboot USB to usb serial in order to talk to my custom program for data transfer

Not sure if anyone do this before?

Previously I hijacked the fastboot USB to customized VID/PID for the usb and is recognized as custom USB serial in device manager, can't seems to communicate to my custom program.

So I'm thinking is it because my custom program is usb serial, but fastboot usb is not

Tags (1)
0 Kudos
Reply
4 Replies

1,236 Views
jmjm
Contributor I

Hello @Manuel_Salas 

But I understand that UMS normally to read from some storage etc pendrive
but my custom program is like a flashing tool, which will send by packet to packet

can I still use ums in this case? or is there any better option for me? I've been through this f_acm.c looks like a serial connection to me

 

0 Kudos
Reply

1,227 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello,

 

If you are using a host Linux machine, when the board is in UMS mode, you will be able to read the boot and EXT4 partitions successfully.

 

Best regards,

Salas.

 

0 Kudos
Reply

1,205 Views
jmjm
Contributor I
hmm but not on Linux Host

now I'm still in serial downloader stage, where uboot USB is bare metal
0 Kudos
Reply

1,251 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @jmjm 

 

Maybe it is better to use the UMS (USB MASS STORAGE) instead of fastboot, you can type in you U-boot the command ums and you will see the ussage.

 

I hope this can helps to you.

 

Best regards,

Salas.

0 Kudos
Reply