Skip to main content
SGass.2
Associate
October 21, 2021
Solved

Is it possible to use same DFU files on STM32F2 with different flash size?

Dear STM forum,

So far we are using STM32F205ZF (with 768k flash) for all our devices. Because of the chip shortage, they are not available at the moment.

The STM32F205ZG (with 1MB flash) seems to be a bit better available. So the question came up if there is a way to compile firmware which would run on both devices?

We would like to avoid two different firmwares depending on the flash size because this would cause a support nightmare.

Help is greatly appreciated!

Best regards,

Stefan

This topic has been closed for replies.
Amel NASRI
Amel NASRIBest answer
ST Technical Moderator
October 25, 2021

Hi @SGass.2​ ,

Firmware compiled and executed successfully on STM32F205ZF (small size) will not create issues when targeting the same die with a larger flash size (STM32F305ZG).

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.

2 replies

Amel NASRI
Amel NASRIBest answer
ST Technical Moderator
October 25, 2021

Hi @SGass.2​ ,

Firmware compiled and executed successfully on STM32F205ZF (small size) will not create issues when targeting the same die with a larger flash size (STM32F305ZG).

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
SGass.2
SGass.2Author
Associate
October 25, 2021

Hello Amel

Thank you very much for your answer!

Best regards,

Stefan