Skip to main content
tsato.2
Associate
Feb 27, 2023 8:13 AM UTC
Solved

Can I run EEPROM_Emulation on the STM32L552CCT6?

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.
tsato.2
tsato.2Best answer
Associate
Feb 28, 2023 8:57 AM UTC

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.

7 replies

ST Technical Moderator
Feb 27, 2023 9:49 AM UTC

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
tsato.2
tsato.2Author
Associate
Feb 27, 2023 12:27 PM UTC

thank you for your reply.

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

ST Technical Moderator
Feb 27, 2023 2:04 PM UTC

Hi @tsato.2,

I try the example and it is working as expected.

Try these steps:

  • erasing the chip
  • increasing the stack size.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
tsato.2
tsato.2AuthorBest answer
Associate
Feb 28, 2023 8:57 AM UTC

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.

ST Technical Moderator
Feb 28, 2023 12:16 PM UTC

Good to hear you made it work.

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

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
tsato.2
tsato.2Author
Associate
Mar 1, 2023 8:48 AM UTC

I don't know how to close the thread.

Please ask the administrator.

ST Technical Moderator
Mar 2, 2023 9:48 AM UTC

Hi @tsato.2​ ,

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

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks