Skip to main content
Karthik Kumar
Associate II
January 4, 2022
Solved

Dear experts!! i am using Stm32f030c6t6 MCU its Flash memory is 32KB but my Hex file is 45KB i have flashed it on this MCU its working i want to know how it works fine when my hex file size is greater than the flash memory size please explain me

  • January 4, 2022
  • 1 reply
  • 1186 views

..

This topic has been closed for replies.
Best answer by Peter BENSCH

Welcome, @Karthik Kumar​, to the community!

The file size of the HEX file is irrelevant, since it is a text file with additionally addresses, checksums, etc. Comparable with the Flash size would be only the BIN format.

So, don't worry, a HEX with 45KB perfectly fits into a 32KB Flash.

Regards

/Peter

1 reply

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
January 4, 2022

Welcome, @Karthik Kumar​, to the community!

The file size of the HEX file is irrelevant, since it is a text file with additionally addresses, checksums, etc. Comparable with the Flash size would be only the BIN format.

So, don't worry, a HEX with 45KB perfectly fits into a 32KB Flash.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Peter BENSCH
Technical Moderator
January 4, 2022

If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

Good luck!

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.