cancel
Showing results for 
Search instead for 
Did you mean: 

How to R/W to internal flash memory without HAL library in a STM32L071CB MCU

migmel
Senior

Hello, does anybody know how to read/write to internal flash memory in a STM32L071CB MCU using low level or any other method without having to use the HAL library ?

1 ACCEPTED SOLUTION

Accepted Solutions

To read, you just... well... read it. In C, use a pointer with suitable type and value.

To write, read Writing/erasing the NVM subchapter of FLASH chapter in RM.

Note, that the erased state of 'L0 FLASH is 0.

JW

View solution in original post

2 REPLIES 2

To read, you just... well... read it. In C, use a pointer with suitable type and value.

To write, read Writing/erasing the NVM subchapter of FLASH chapter in RM.

Note, that the erased state of 'L0 FLASH is 0.

JW

migmel
Senior

Thank you, I was searching in the wrong place.

Regards,

MM