# Is there any tool to read/write EEPROM of STM32L from the host?

I'm using STM32L152RTC6 (link to similar MCU line) with a built-in EEPROM (8k). I wonder if there's any tool that allows me to read/write the EEPROM from the host side, other than programming the MCU using ST library code, i.e.:

STM32L1xx_StdPeriph_Lib_V1.2.0\Project\STM32L1xx_StdPeriph_Examples\FLASH\Data_Program


I did some search online. For Atmel MCUs, people use avrdude terminal to dump the EEPROM message, but I haven't found a good tool for STMicroelectronics MCU.

• I don't have an ST part with EEPROM to verify this, but I'd be very surprised if the STM32 ST-LINK utility didn't let you inspect internal EEPROM contents in any STM32 that has it. – markt May 6 '14 at 8:02
• Thanks markt for pointing out ST-LINK Utility software. I didn't notice that it has such functionality. :) – Shan May 7 '14 at 2:48
• Refer to ST-LINK Utility: st.com/st-web-ui/static/active/en/resource/technical/document/… – Shan May 7 '14 at 2:49
• In principle this should be fairly simple; if it cannot be directly done via JTAG/SWD operations, then you use that to upload a tiny program to RAM and start it to do the operations for you. – Chris Stratton Jun 30 '14 at 13:45

Yes there is a tool called STM32 ST-LINK utility. Using this one can view and edit the EEPROM memory contents. It can also used to program and erase the flash memory.I am using this for my STM32L151VBT6 MCU. Please note that it's used only for STM32 series MCUs but not used for other than STM32 like STM8 etc..