Skip to main content
Ananthakrishnan v
Associate II
April 3, 2019
Question

STM32F091CCT6 FLASH Write example code by using cubemx.

  • April 3, 2019
  • 2 replies
  • 866 views

I am using STM32F091CCT6, i want to store a variable data into flash memory. That value does not change after power on reset. Any example code available for this application.

This topic has been closed for replies.

2 replies

ST Technical Moderator
April 3, 2019

Hello,

Try the FLASH example with the CubeF0 firmware package and modify it depending on your needs: STM32Cube_FW_F0_V1.9.0\Projects\STM32F091RC-Nucleo\Examples\FLASH

Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Ananthakrishnan v
Associate II
April 4, 2019

Thanks for your reply. I did with this example and able to write into selected flash address but after power on reset the variable goes to initial value.