Skip to main content
SGoel.2
Associate III
Sep 9, 2022 10:54 AM UTC
Solved

I am working on a STM 32 project in which at debugging step I found error thatis Error: The download command you trying to perform (--download) is missing the filePath to be loaded or it has a wrong extension Error in STM32CubeProgrammer Shutting dow

..

This topic has been closed for replies.
SGoel.2
SGoel.2Best answer
Associate III
Sep 15, 2022 4:46 AM UTC

@MM..1​  and @Semer CHERNI​ Thank you for your help. Now I have resolve the issue it is because of the special character(&) is present in the directory path of the workspace So due to this program is not debugging Now i have changed the directory for workspace.

Hope it will helpful for others.

10 replies

MM..1
Super User
Sep 9, 2022 3:20 PM UTC

And ??

Create Simple thread name and details ...

Tesla DeLorean
Guru
Sep 9, 2022 7:12 PM UTC

Without some kind of command line to look at, or some context, these types of questions are hard to resolve.

Make a better presentation.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SGoel.2
SGoel.2Author
Associate III
Sep 10, 2022 4:25 AM UTC

@Community member​ and @MM..1​ I have attached the image of the dialogue box showing the error. Again I have tried but the same error occurred. Please help me.0693W00000Sv3uSQAR.png

MM..1
Super User
Sep 10, 2022 9:25 AM UTC

Still hard to help, maybe incomplete debug configuration, maybe long project path or folder names with spaces or special chars usw.

SGoel.2
SGoel.2Author
Associate III
Sep 10, 2022 9:48 AM UTC

I have also made a new project with this name and deleted the old one copied all files and folders but still showing this error.

MM..1
Super User
Sep 10, 2022 9:58 AM UTC

Try show screen debug config , on your shot i see used \\ \\ path , from where is your project git? On example

0693W00000Sv4KGQAZ.png

SGoel.2
SGoel.2Author
Associate III
Sep 10, 2022 11:08 AM UTC

@MM..1​ This is the debug config screenshot. 0693W00000Sv4RHQAZ.png

MM..1
Super User
Sep 10, 2022 2:55 PM UTC

Try load builded ELF externaly over stlink utility or proggrammer. If works, seems your IDE install is incomplete or corrupt, try reinstall.

Semer CHERNI
ST Employee
Sep 13, 2022 3:36 PM UTC

Hello @SGoel.2​ 

As mentioned by @MM..1​  try to use CubeProgrammer to flash the binary. That result of this test could help to identify if it is a debugger issue or Programmer issue.

Also I want to ask you to post the rest of the debug configuration and try to generate and send post the debug log so I can analyze it.

You can do that by checking the box "log to file" under the debugger configuration window.

0693W00000SvHOuQAN.png 

Kind regards,

Semer.

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.
SGoel.2
SGoel.2AuthorBest answer
Associate III
Sep 15, 2022 4:46 AM UTC

@MM..1​  and @Semer CHERNI​ Thank you for your help. Now I have resolve the issue it is because of the special character(&) is present in the directory path of the workspace So due to this program is not debugging Now i have changed the directory for workspace.

Hope it will helpful for others.