Skip to main content
DLang.4
Associate II
July 11, 2022
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?

  • July 11, 2022
  • 3 replies
  • 1316 views

0693W00000QKpo1QAD.png 

This topic has been closed for replies.
Best answer by Mike_ST

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"

3 replies

Mike_ST
Mike_STBest answer
Technical Moderator
July 11, 2022

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"

DLang.4
DLang.4Author
Associate II
July 11, 2022

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
July 11, 2022

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.