STM32F4

Tutorial - How to upload arbitrary data to STM32F4 Flash Memory

Uploading binary data to a desired address

Purpose

Gecho has one megabyte of FLASH memory, and only a fragment is occupied by standard firmware.

You might need to use this process, if:

  • you wish to extend the functionality
  • you need to store larger amount of data
  • it is not handy to pack data into source files (as constants etc.)
  • you want to be able to replace this data without interfering with firmware

Connect your SWD Programming Adapter and start STM32 ST-LINK Utility.

Into the "Size" field, enter 0x100000 - this is a full range of FLASH memory available in our MCU - and click "Connect to the target" icon.