cancel
Showing results for 
Search instead for 
Did you mean: 

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 down

SGoel.2
Associate III
 
1 ACCEPTED SOLUTION

Accepted Solutions
SGoel.2
Associate III

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

View solution in original post

10 REPLIES 10
MM..1
Chief III

And ??

Create Simple thread name and details ...

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

@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

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

SGoel.2
Associate III

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.

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

0693W00000Sv4KGQAZ.png

SGoel.2
Associate III

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

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

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.