Skip to main content
SGoel.2
Associate III
September 9, 2022
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

  • September 9, 2022
  • 7 replies
  • 1853 views

..

This topic has been closed for replies.
Best answer by SGoel.2

@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.

7 replies

MM..1
Chief III
September 9, 2022

And ??

Create Simple thread name and details ...

Tesla DeLorean
Guru
September 9, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..
SGoel.2
SGoel.2Author
Associate III
September 10, 2022

@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
Chief III
September 10, 2022

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
September 10, 2022

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
Chief III
September 10, 2022

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
September 10, 2022

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

MM..1
Chief III
September 10, 2022

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
September 13, 2022

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.

SGoel.2
SGoel.2AuthorBest answer
Associate III
September 15, 2022

@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.