cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve MCU Device ID from USB DFU

NChin.2
Associate II

We are working on our own firmware update utility, and need a way to get the Device Id from default USB DFU bootloader in order to avoid wrong firmware flashing. On CubeProgrammer, we can see that info:

 21:36:20 : Device ID  : 0x0423

The question is: What command can be used to send to the USB DFU to get such information?

I've tried reading out 0xE0042000 with DN_UPLOAD command but it returns Status(10).

Thank you.

2 REPLIES 2
Javier1
Principal

Maybe you should check out https://community.st.com/s/question/0D50X00009XkZOXSA3/unique-96bit-id-meaning-and-its-shortening

we dont need to firmware by ourselves, lets talk
NChin.2
Associate II

Thanks, but it's kind of hwid, we need the device id like: 0x0423 (stm32f4xx), 0x0411 (stm32f2xx), etc.