2018-08-14 11:37 AM
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
2018-08-14 11:51 AM
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
2018-08-14 01:03 PM
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.