1
\$\begingroup\$

Is it possible to flash and run a compiled code (.hex-file) for a specific Microcontroller (for example STM32F205RC) on a Microcontroller from the same family with bigger flash-memory and RAM (without creating a new compiled version.)?

Example: .hex for STM32F205RC (128K flash memory and 64K RAM) on STM32F205RE (512K flash memory and 128K RAM)

(it is obvious that the larger memories is not used)

\$\endgroup\$
2
2
\$\begingroup\$

Datasheet says the MCUs are fully compatible, only memory size is different. The compiler should only use different linker script to change the RAM and Flash memory sizes. The compiled binaries should be identical, and you can also verify this.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.