cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F101R8T6 Flash writing and reading example

basavanagouda
Associate II
Posted on August 31, 2017 at 07:47

HI,

We are using STM32F101R8T6 controller in our project, we want to dedicate some portion of the Flash memory to store the project configuration parameters. We want to know 

STM32F101R8T6 support flash writing and reading?  If yes, we request you, please provide example codes and Library for STM32F101R8T6 flash writing and reading. It will help us a lot.

Thanks in advance,

Basavanagouda.

#boot-loader #flash-read-and-write #flash-writing
4 REPLIES 4
Posted on August 31, 2017 at 23:30

Hello!

you can download the

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32054.html

firmware 

Inside, you will find  working examples for flash programming for your device.

There is a template project also. Use it to add the example files you need to work with

0690X0000060861QAA.png

Regards

vf

Posted on September 01, 2017 at 02:01

The memory is within the chip's addressable space, you can read it directly with pointers, etc. just like any other memory

Writing example

STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\FLASH\Program\readme.txt

There are also IAP examples

http://www.st.com/content/ccc/resource/technical/document/application_note/95/15/6f/65/15/06/4e/d3/CD00161640.pdf/files/CD00161640.pdf/jcr:content/translations/en.CD00161640.pdf

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on September 11, 2017 at 09:04

Thank you for the replay . 

Posted on September 11, 2017 at 15:09

Hi

Goudra.Basavanagouda

goudra.basavanagouda wrote:

Thank you for the replay .

https://community.st.com/0D50X00009bMM5DSAW

-Nesrine-