Skip to main content
tsato.2
Associate
February 27, 2023
Solved

Can I run EEPROM_Emulation on the STM32L552CCT6?

  • February 27, 2023
  • 5 replies
  • 2245 views

X-CUBE-EEPROM v5.0.0 includes a sample for NUCLEO-STM32L552ZE-Q.

I am trying to use this sample for STM32552CCT6 to run EEPROM Emulation, but the EE_Init() execution results in an error.

To begin with, is it possible to operate EEPROM_Emulation with STM32L552CCT6?

This topic has been closed for replies.
Best answer by tsato.2

Thank you for your reply.

The error was due to accessing an impossible address. Resolved by resetting the user-defined start address to the correct range.

5 replies

Technical Moderator
February 27, 2023

Hello @tsato.2​,

The X-CUBE-EEPROM package supports STM32L5 series and includes examples which run on STM32L552xx devices.

For more details, please have a look at this AN4894 application note describes the software solution (X-CUBE-EEPROM).

Can you please share more details about the error you have?

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
tsato.2
tsato.2Author
Associate
February 27, 2023

thank you for your reply.

A Fault occurs when line 249 in EE_Init() is executed.0693W00000aHjqAQAS.png

Technical Moderator
February 27, 2023

Hi @tsato.2,

I try the example and it is working as expected.

Try these steps:

  • erasing the chip
  • increasing the stack size.

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
tsato.2
tsato.2AuthorBest answer
Associate
February 28, 2023

Thank you for your reply.

The error was due to accessing an impossible address. Resolved by resetting the user-defined start address to the correct range.

Technical Moderator
February 28, 2023

Good to hear you made it work.

Please allow me to close this thread and thank you for your contribution.

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
tsato.2
tsato.2Author
Associate
March 1, 2023

I don't know how to close the thread.

Please ask the administrator.

Technical Moderator
March 2, 2023

Hi @tsato.2​ ,

Your question is answered and closed by selecting "Best Answer" flag.

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"