AnsweredAssumed Answered

Writing data to flash - from bin file

Question asked by MGL on Aug 15, 2014
Latest reply on Aug 15, 2014 by MGL
Hello everybody.

I am having trouble writing data to the STM32F0 flash. 

I would like to store a look-up-table in a page of flash. My intention is to flash this in during production, so I have added it to the appropriate memory section of the bin file, which I then flash in using ST-Link.

However, when my code interprets the values they have been converted to ASCII. eg if I store a 0, my code reads it as 0x30.

Does anyone have any suggestions for storing the data in a correct hex format?

Thank you in advance
Matt

Outcomes