cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H745 built in DFU bootloader serial number does not match CubeMX generated USB DFU device serial?

Beni1
Associate II

Hi!

What is the serial number generation algorithm for the built in bootloader for STM32H745 controller?

In F4 and F7 this was working:

deviceserial[0] += deviceserial[2];

IntToChar(deviceserial[0], (uint8_t*)&str[0], 8);

IntToChar(deviceserial[1], (uint8_t*)&str[8], 4);

But for H7 I get different one from the built in DFU:

Example:

UID0: 0x00200032

UID1: 0x3438510E

UID2: 0x31373439

Built in ID:  200364500000

Generated ID: 3157346B3438

Probably can take a look the built in code of the disassembly but might be quicker asking here?

Thanks,

Benjamin

0 REPLIES 0