Skip to main content
Chris21
Associate II
February 6, 2024
Solved

STM32CubeProgrammer Failure

  • February 6, 2024
  • 2 replies
  • 2637 views

Hello,

The latest STM32CubeProgrammer (V 2.15.0) appears to be unable to program an STM32L471 microcontroller.

It communicates successfully but fails with error:

    Error: Operation exceeds memory limits
    Error: failed to erase memory

The hex file memory size is 781.64 KB, the micro's flash size is 1 MB.

This file programs without issue with an older version of STM32CubeProgrammer (v 2.4.0).

 

 

STM32 Cube PRG Fail.PNG

 

This topic has been closed for replies.
Best answer by Aziz BRIGUI

Hello @Chris21,

Issue confirmed and transferred to CubeProgrammer development team. 

Internal ticket number:  172951 (PS: This is an internal tracking number and is not accessible or usable by customers).

For now, a workaround with CubeProgrammer v2.15 would be to replace the attached file in "$CubeProgrammer_installation_path/Data_Base" directory.

Let me know if this resolves the issue.

Thanks,

Aziz

2 replies

Tesla DeLorean
Guru
February 6, 2024

@Sara BEN HADJ YAHYA @Aziz BRIGUI 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Aziz BRIGUI
Aziz BRIGUIBest answer
Technical Moderator
February 8, 2024

Hello @Chris21,

Issue confirmed and transferred to CubeProgrammer development team. 

Internal ticket number:  172951 (PS: This is an internal tracking number and is not accessible or usable by customers).

For now, a workaround with CubeProgrammer v2.15 would be to replace the attached file in "$CubeProgrammer_installation_path/Data_Base" directory.

Let me know if this resolves the issue.

Thanks,

Aziz

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Chris21
Chris21Author
Associate II
February 8, 2024

Hello @Aziz BRIGUI,

The file provided does resolve the issue.

Thank you for your support.

-Chris