Serial Downloader USB HID serial number

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

Serial Downloader USB HID serial number

1,241 Views
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

Labels (2)
0 Kudos
4 Replies

873 Views
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 Kudos

873 Views
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 Kudos

873 Views
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 Kudos

873 Views
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 Kudos