cancel
Showing results for 
Search instead for 
Did you mean: 

Upload a config file.

sne_123
Associate III

How can I upload a config text file to stm32 flash ??? what softwares do zi need to install and what will be the procedure to check the presence of config file and update the firmware accordingly with new settings????

2 REPLIES 2

Files are just a collection of bytes.

If you want flashing tools to manage this you'll need to translate the data to a .HEX, or rename/copy to a .BIN

You'll need to decide the address you want this data to reside.

On the program side you could facilitate the writing of data to a designated area of flash.

The reading would be done like any other memory access, you can use pointers and structures, and you can inspect memory to see if it is erased vs containing configuration data.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
sne_123
Associate III

Thank you for your reply @Community member​  .