cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any documentation for STM32F1xx FLASH peripheral ?

Julien FAUCHER
Associate III

Hello,

In the CMSIS headers of the STM32F1 serie, there is the definitions regarding register fields for a "FLASH" peripheral.

According to all other STM32, it should manage the possibility to write within the embedded flash memory. However, there is neither FLASH typedef nor information about FLASH in the reference manuals currently online.

Is there an issue whithin the CMSIS headers or is the problem in the reference manual ?

Regards,

Julien FAUCHER

2 REPLIES 2

Expand post to see PM0075 link

Seem to recall some of the specifics being in the Data Sheet because there are different density F1 parts, low, medium, high, and XL. The size and number of the flash sectors depending on a specific offering. There is a 16-bit word in the ROM/OTP describing the size of the tested FLASH.

The configuration is relatively simple due to the uniform size of the sectors. Sectors are erased by number, and programming must be enabled, and then you write words to the memory location being updated.

The Programming Manual PM0075 is perhaps what you're looking for

https://www.st.com/content/ccc/resource/technical/document/programming_manual/10/98/e8/d4/2b/51/4b/f5/CD00283419.pdf/files/CD00283419.pdf/jcr:content/translations/en.CD00283419.pdf

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

I believe what you are looking for is found in a separate document prefixed with PM # (Programming Manual)

For example, PM0075: STM32F10xxx Flash memory microcontrollers or

PM0056: STM32F10xxx/20xxx/21xxx/L1xxxx Cortex®-M3 programming manual or perhaps PM0042 depending on the specific microcontroller used.