Hi. I have win11 home. I have original ST-LINK/V2 (latest version firmware V2J45S7) and original chip STM32F103CBT6. When I with CubeIDE or STlink-utility try connect (and upload compiled file) to STM32F103x, all OK. Also I can connect to STM32F103x with STMCube Programmer and it is ok. So I can with STM programs (Cube or Programmer) upload anythings and it works. However if I try upload sketch with Arduino IDE (with install stm32duino), sketch compiled ok, but upload not works. Message error is: "java.io.IOException: Cannot run program "{busybox}": CreateProcess error=2.......
I have set "STMCube Programmer - SWD", port in arduino IDE is none. I tried this in another pc and it is the same. Can someone please advise me? As if Arduino IDE could not communicate with st-link/v2. Maybe I'm missing some driver for stm (stsw-link009 I have install correctly), or is it a bug that st-link in Arduino IDE doesn't show up as a com port?
2 Likes
Hi @danskareda. 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 > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Uncheck the box next to "Show verbose output during:
☑compilation" 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, as you did before.
- After the upload fails, you'll see a button on the right side of the orange bar in Arduino IDE: Copy error messages. Click that button.
This copies the full output to the clipboard. - 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.
Do you maybe use the latest (2.8.1) version of the stm32duino core?
That does not support the V1 IDE (1.8.19) anymore. I had to rollback to V 2.7.1 as the V2.8.1 also made all my COM ports go away. Even for other boards than STM.

2 Likes
Thanks for the great advice. I installed a lower version of stm32duino (2.7.1) and uploading to STM32 works. ![]()
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.