Uboot USB as usb serial for data transfer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Uboot USB as usb serial for data transfer

1,271 次查看
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

标记 (1)
0 项奖励
回复
4 回复数

1,232 次查看
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 项奖励
回复

1,223 次查看
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 项奖励
回复

1,201 次查看
jmjm
Contributor I
hmm but not on Linux Host

now I'm still in serial downloader stage, where uboot USB is bare metal
0 项奖励
回复

1,247 次查看
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 项奖励
回复