Skip to main content
Visitor II
July 25, 2024
Solved

STM32_Programmer_CLI -e ed1 & ed2 (eeprom erase) throws error since version 2.16

  • July 25, 2024
  • 1 reply
  • 1356 views

Hi,

We are using STM32_Programmer_CLI on windows and linux.

I noticed that since version 2.16 following commands fails:
STM32_Programmer_CLI -c port=SWD freq=8000 sn=x mode=UR -e ed1 & ed2

with:

Error: The erase command you trying to perform is missing some arguments. Please refer to the Help to see how to use it.

 

It worked fine on version 2.15. I've looked into any api changes for newer version in release notes but I couldn't find any relevant changes that could affect this behavior. For me, it looks like this is potential bug/regression. Let me know if me guess is correct or we need to adjust params added to command.

Thx

Best answer by Maryem

Hello,

 

The problem has been resolved in STM32CubeProgrammer v2.18.0

You can download it from this Link.

 

Maryem.

1 reply

Amine_Jridi
Technical Moderator
July 29, 2024

Hello @pwl,

Yes, you are correct. This is a known issue related to erasing EEPROM sectors, and it is currently under investigation by our development team.

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

I'll keep you updated.

Thanks,

Amine.

 

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.
Visitor II
October 30, 2024

Hi,

Is there a workaround or solution available or status on being fixed in version 2.18?

Thanks!

Maryem
Technical Moderator
October 31, 2024

Hello @rload,

 

The fix will be included in the future release of CubeProgrammer. In the meantime, you can try using the GUI of version 2.17.0 or the CLI of version 2.15.0.  I'll keep you posted. Thank you for your understanding!

 

Maryem.