Skip to main content
DLang.4
Associate II
Jul 11, 2022 7:21 AM UTC
Solved

I have a strange issue with the STM32_Programmer_CLI.exe for cube programmer. It looks like that it handles the path different that I type it (see attached picture). Do I do something wrong?

0693W00000QKpo1QAD.png 

This topic has been closed for replies.
Mike_ST
Mike_STBest answer
ST Technical Moderator
Jul 11, 2022 8:00 AM UTC

Hello,

try to put the file name within quotation marks.

-d "you file path/your file name"

and you should write "hardRst" instead of "hardRsth"

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. 

3 replies

Mike_ST
Mike_STBest answer
ST Technical Moderator
Jul 11, 2022 8:00 AM UTC

Hello,

try to put the file name within quotation marks.

-d "you file path/your file name"

and you should write "hardRst" instead of "hardRsth"

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. 
DLang.4
DLang.4Author
Associate II
Jul 11, 2022 8:05 AM UTC

Yes, you are right. The problem is the space in the file path name. Replace the space with a underscore can also solve it. Thank you.

Andrew Neil
Super User
Jul 11, 2022 10:32 AM UTC

Another example of why spaces (and other "special" characters) are a Really Bad Idea in file (including folder) names.

This came up twice just last week; eg,

https://community.st.com/s/question/0D53W00001ewLYRSA2/stm32cubeprogrammer-2100-and-2110-external-loader-bug-if-the-els-filename-has-more-tha-one-dot-one-dot-only-for-its-extension-name-stm32cubeprogrammer-goes-in-error

 #SpaceInPath

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.