cancel
Showing results for 
Search instead for 
Did you mean: 

Where I can find example code programming flash memory?

VAvag.1
Associate II
 
11 REPLIES 11
TDK
Guru

Hello @VAvag.1​ ,

Let me first welcome you the STM32 Community :smiling_face_with_smiling_eyes:

STM32CubeMX tool comes with the Example selector feature allowing you to browse a large set of examples and to start a new project from a selected example for some STM32 MCUs/MPUs.

0693W00000D1lB0QAJ.jpg 

Each example comes a readme.txt file describing its behavior and the environment required to run the example.

You can refer to STM32CubeMX User manual  for further details about tool features.

Hope this answers your question. If it is the case, please click on the Select as Best button on my reply . This will help other members of the community find this solution more quickly.

Otherwise feel free to raise any feedback.

Khouloud.

MM..1
Chief III

And when you ask better is write some details not only subject. For example you ask internal or external FLASH usw...

Which STM32? There are hundreds of unavailable options..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Thank You.
On 06.08.2021 18:45, ST Community wrote:
Thank You.
On 06.08.2021 18:56, ST Community wrote:
Hi MM..1. I just start to work with STM32F401 controller. Before I have worked with 8-bit Atmel AVR controllers. There is EEPROM beside of
program memory, which I can easily program. Now I have the same task,
but have difficulties to distinguish where in Flash Memory ends my code
and from where and how I can write my nonvolatile data.
On 06.08.2021 19:26, ST Community wrote:
I want to program internal flash.
On 11.08.2021 11:39, Vahram wrote:
Hi Tesla DeLorean. I am working with STM32F401.
On 06.08.2021 21:59, ST Community wrote: