Serial Downloader USB HID serial number

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

Serial Downloader USB HID serial number

2,583件の閲覧回数
MA1979
Contributor I

Hi together,

we are using serial downloader in an i.MX7 device. When i look at the USB HID descriptor the serial number string is empty. Is there any way to get a serial number in serial downloader so that we can find the correct device if more than one is connected to the host?

Regards Mario

ラベル(2)
0 件の賞賛
返信
4 返答(返信)

2,215件の閲覧回数
MA1979
Contributor I

Hi,

i don't want to programm VID or PID. I would like to porgramm a serial number which can be read by a function such as HidD_GetSerialNumberString routine (Windows Drivers). Currently the answer is empty on every device.

Regards Mario

0 件の賞賛
返信

2,215件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  Boot ROM cannot be changed (programmed).

Perhaps, it makes sense to use USB addresses, which

are assigned  during enumeration. 

Regards,

Yuri.

0 件の賞賛
返信

2,215件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

 

  Parameters, provided by i.MX7 boot ROM for USB boot loader, may be
found in section 6.6.9.1 (USB) of the i.MX7 Reference Manual.

 

 In Your case, perhaps the following helps, but this is OS dependent.

 

HidD_GetSerialNumberString routine (Windows Drivers)  

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct
Answer button. Thank you!

------------------------------------------------------------------------------

0 件の賞賛
返信

2,215件の閲覧回数
RossMcLuckie
NXP Employee
NXP Employee

Not 100% sure on this, but I assume you mean a way to program a USB PID and VID code?

If so then there are areas in the fuse map assigned for this, see the reference manual -

pastedImage_1.png

These are intended for customer use, what I'm not sure about is if there is a direct link between these fuse values and the serial loader mode, but I think it is likely, you can try programming a test value to see if it works as required, but for production I think you would need to be using registered VID and PID codes with the usb.org.

Regards

Ross

0 件の賞賛
返信