Skip to main content
Visitor II
October 21, 2021
Solved

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

  • October 21, 2021
  • 2 replies
  • 885 views

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.
    Best answer by Amel NASRI

    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

    2 replies

    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

    SGass.2Author
    Visitor II
    October 25, 2021

    Hello Amel

    Thank you very much for your answer!

    Best regards,

    Stefan