cancel
Showing results for 
Search instead for 
Did you mean: 

How to write EEPROM with STM32CubeProgrammer via USB?

THein.3
Associate II

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Javier1
Principal

you meant writting in flash?

click verbosity level 3 and show us what you get.

0693W00000Y9Ty9QAF.png

we dont need to firmware by ourselves, lets talk

View solution in original post

3 REPLIES 3
Javier1
Principal

you meant writting in flash?

click verbosity level 3 and show us what you get.

0693W00000Y9Ty9QAF.png

we dont need to firmware by ourselves, lets talk
THein.3
Associate II

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
Associate II

Oh, I forgot: Thank you! :smiling_face_with_smiling_eyes: