AnsweredAssumed Answered

Using same binary on STM32F407 and STM32F405

Question asked by iggy.snabel on Oct 14, 2016
Latest reply on Oct 14, 2016 by Clive One
I'm building a bootloader and it shall run on a 100pin STM32F407 and a 64pin STM32F405. From reading the reference manual they seem very similar (except for some peripherals). My dev-environment does include an assembler initial start-file (xxxx.S).
Is it possible due to their similarities to use the same binary on those two?
If so, can the program still distinguish on what HW it is running (without external help of strapping pins)?

I did read about the "unique device ID" register. So far I can't find any indication that there is a part of that ID that suggests a certain device. Since it says: "unique for any
device and in any context." (page 1702, RM0090).

Outcomes