I'm not saying it can't work or that is related to this, but generally, when looking for to verify connection issues I would exclude hubs and extension cables.
Did you find the TEMP folder , try the ST Link Utility.
Your error screenshot says it doesn't find STCubeProgrammer, which is strange if it found it with Nucleo ??
Did you ever reboot after installing your setup?
Yes, I was able to use the bin/elf file generated from the Arduino IDE and upload it through STMCubeIDE, should work with utility as well.
So, I have a work around for now and thanks for showing me how to upload it using generated files.
I am sure I did. I can give it a shot agin by restarting my pc. It works with Nucleo fine. St-link also work with ST applications but not with Arduino IDE.
Some info I just found.
At least it looks like he can see the STLink under upload method.
You don't have to see that.
Your upload method is correct.
There is something wrong with STM32CubeProgrammer installation but I can't understand how could it work with Nucleo...
Yes, they can because they used a another STM32 Arduino Package. I am using the Roger Clark's arduino code, and see these upload methods:
Hi @vikramlaisetti.
I'm going to ask you to provide the full verbose output from an upload attempt.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Uncheck the box next to Show verbose output during:
☑compile in the "Preferences" dialog. - Check the box next to Show verbose output during: ☐ upload.
- Click the "OK" button.
The "Preferences" dialog will close. - Attempt an upload, using the same procedure as you did before.
- Wait for the upload to fail.
- You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
- Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.

- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the error output from the upload into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to post the output.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
