Skip to main content
NChin.2
Associate II
May 4, 2022
Question

Retrieve MCU Device ID from USB DFU

  • May 4, 2022
  • 2 replies
  • 1601 views

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.

This topic has been closed for replies.

2 replies

Javier1
Principal
May 4, 2022
hit me up in https://www.linkedin.com/in/javiermuñoz/
NChin.2
NChin.2Author
Associate II
May 5, 2022

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