10 years, 6 months ago.

Accessing on chip EEPROM?

How does one access the on chip EEPROM?

I can find lot's of examples of accessing external EEPROMs but not for internal EEPROMs. Is there a common way of accessing these storages across different hardware devices or does each device need a bespoke library?

I've had a look at the chips datasheet but it didn't really give me any clues as to how to access the EEPROM.

Many thanks, The Cageybee

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L152RET6 microcontroller.

1 Answer

10 years, 6 months ago.

Hi,

You cannot access the on chip EEPROM by using mbed functions but you can do it using the functions present in the stm32l1xx_flash.c/h files.

You can find also examples in the STM32L1xx standard peripheral library: http://www.st.com/web/en/catalog/tools/PF257913

Regards

Accepted Answer