Skip to main content
THein.3
Associate II
January 30, 2023
Solved

How to write EEPROM with STM32CubeProgrammer via USB?

  • January 30, 2023
  • 3 replies
  • 1510 views

Hi Everyone,

I have a STM32L1 connected via USB in DFU-Mode.

I'd like to write EEPROM, but trying to do so results in "Memory Limits Error".

0693W00000Y9TZ0QAN.pngUsing old DfuSe 3.0.6., this is possible... What am I missing?

Is CubeProgrammer at all capable of writing EEPROM?

Thank you!

This topic has been closed for replies.
Best answer by Javier1

you meant writting in flash?

click verbosity level 3 and show us what you get.

0693W00000Y9Ty9QAF.png

3 replies

Javier1
Javier1Best answer
Principal
January 30, 2023

you meant writting in flash?

click verbosity level 3 and show us what you get.

0693W00000Y9Ty9QAF.png

hit me up in https://www.linkedin.com/in/javiermuñoz/
THein.3
THein.3Author
Associate II
January 30, 2023

Hi,

no, I meant writing EEPROM.

STM32L1 has at most 512kB Flash and then up to 16kB EEPROM.

Flash starts at

0x0800 0000

EEPROM starts 512kB "later" at

0x0808 0000

it ends at

0x0808 4000

The Tool correctly reads 0x0808 0000...

Looking at what the tool outputs, it seems to be confused with EEPROM and Flash

0693W00000Y9UFKQA3.png

THein.3
THein.3Author
Associate II
January 30, 2023

Oh, I forgot: Thank you! :smiling_face_with_smiling_eyes: