Warm greetings to everyone from Istanbul!
While developing or experimenting with STMCubeMX, I got tired of constantly configuring settings and uploading programs. To solve this problem, I developed the attached software, which I hope will be useful for everyone.
Simply put:
**Note:** You must have STMCubeMX installed on your computer. You can use the ST-Link V2 programmer, and I’ll share a picture of my version later.
When the software opens, it will look like the "Program Init" screen. The first step is to locate the STMCubeMX CLI.exe file.
### Step 1:
Click the "STMCubeMX Pro" button.
By default, the STMCubeMX CLI can be found in the following directory:
`C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin`.
None of the other buttons will be active until you select the STMCubeMX program.
After selecting the STMCubeMX CLI.exe file, confirm your choice.
### Step 2:
Select the folder where your software's HEX file is located (*.hex) and confirm.
Once you make this selection, the program will upload your file once.
Afterward, every time you compile your program with Flowcode, this software will automatically upload it to your board.
Be careful when making the USB Programmer connections for +5V, SWDIO, and CLK.
Every time you press the "Reupload" button, the current software will be re-uploaded.
Since the program is approximately 36 MB in size, I will share it through a third-party website.
STM32 Auto programmer ( via ST-link V2)
-
- Posts: 42
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
STM32 Auto programmer ( via ST-link V2)
- Attachments
-
- 1 Program Inıt.png (40.6 KiB) Viewed 2268 times
Last edited by celebriums on Tue Oct 15, 2024 10:25 am, edited 1 time in total.
Sadık Süme
-
- Posts: 42
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
-
- Posts: 42
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
Re: STM32 Auto programmer ( via ST-link V2)
File load
- Attachments
-
- 3 STMCubeMXProgrammerCLI Choose.png (171.18 KiB) Viewed 2262 times
-
- 2 STMCubeMXProgrammerCLI.png (186.75 KiB) Viewed 2262 times
Sadık Süme
-
- Posts: 42
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
Re: STM32 Auto programmer ( via ST-link V2)
Hex Load
- Attachments
-
- 4 Software Import.png (263.64 KiB) Viewed 2261 times
Sadık Süme
-
- Posts: 42
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
Re: STM32 Auto programmer ( via ST-link V2)
Check Time Settings
- Attachments
-
- 7 Check Time.png (53.03 KiB) Viewed 2261 times
-
- 6 Program Auto Load Screen.png (79.51 KiB) Viewed 2261 times
Sadık Süme
-
- Posts: 42
- Joined: Fri Dec 18, 2020 7:33 am
- Location: Turkey
- Has thanked: 23 times
- Been thanked: 7 times
- Contact:
-
- Posts: 15
- Joined: Sun Dec 13, 2020 9:15 pm
- Has thanked: 1 time
- Been thanked: 5 times