STM32F103C with ST-Link and STM32duino, simplified!

preview_player
Показать описание
In this video I show you how to install all the drivers for the STM32-based microcontroller in order to be able to use it with Arduino IDE.
After installing the drivers, and uploading the bootloader to the STM32 microcontroller, you have to add the additional boards manager to the Arduino IDE. After that you have to pick your board (in this video, it is the STM32F103C) and select the STM32duino bootloader as the upload method. Connect the board to your PC by the MicroUSB port (remove the ST-Link if you haven't done it yet) and upload your software of choice.

Resources:
ST Drivers and Utility:

Arduino STM32 files (Drivers and Bootloader):

Additional Boards Manager URL:

STM32duino files:

If you found this video useful, please subscribe!

If you want to buy the parts I used and support me at the same time, please use my affiliate links:
Рекомендации по теме
Комментарии
Автор

I have been working on this for 6 hours, but now I must eat and go to bed...hope I don't forget where I am at. Thank you, your help has been the easiest to follow on this subject and all your links are good. Thanks from a 74 year kid.

jamesrodemeyer
Автор

Sir, I must thank you again. It all worked thanks to you and your tutorial. This is the 3rd try to program this board, but you provided "All" the correct links with all the correct information. If I could follow this and get it to work I think anybody could, again, thanks.

jamesrodemeyer
Автор

AWESOME TUTORIAL, easy to follow and well explained, thank you

LiLCC
Автор

Thank you sir, finally i can use com ports and read signal from stm32 board in my pc, thank you for sharing your knowledge! Kudos!

muhammadfaisal-kobn
Автор

Here is another that people seem to keep looking at. Go this direction. Peltiers are my thing but it doesn't seem to be the hot topics lately. Make a buck or two when you do all this work.

paulpease
Автор

GREAT TUTORIAL..well explained...thank you..i upload the arduino bootloader to my stm32f103 without any trouble....thanks again

udithaganepola
Автор

انه من افضل واجمل الفديوهات التي شاهدتها . شرح سلس ومفيد ومركز . شكرا لك كثيرا .. لدي بعض الاقتراحات سوف اطرحها ان تم الرد على تعليقي . شكرا لك على الفديو والشرح ❤❤❤❤

mohssinebouchmal
Автор

i have to say thank you, this is a great tutorial and it did help me a lot, this kind of actions makes common knowledge progress further, thank you!

ef
Автор

Hi!, thank you for your tutorial, quite straightforward and clear!
However I'm having some trouble with my STM32F103C6T6 board: different from an Arduino Uno or Nano I can't see the COM port in the device list (and of course in the Arduino IDE) and of course I can't upload the sketch...
Any idea? It seems to me I missed some drivers...

pickoftheglitter
Автор

Just subscribed, thank you, you are awesome.

majinkeyboards
Автор

hi, Firstly thank you for this video. I have a question. I did everything right and plugged in the micro USB cable I use in phones but my computer does not see the cable. Phone micro usb not suitable?

musaenes
Автор

Perfect turorial. Working. Just one question. Does this method of programming supports Mouse.h library? I am getting an HID.h error.

Автор

Not sure how difficult, but I'd like to port the STM32duino-bootloader to an stm32h7.. do you know if it uses usb's CDC class or HID class? According to the USB Composite Library for Roger's Melbourne's STM32F1 seems to support many classes.. HID, Mass-Storage, etc, but not exactly sure if it's HID for bootloading!

bennguyen
Автор

I wished this would work because I bought 2 STM32F103C6T6 board with ST-Link V2 and I tried it all. Then I tried this and it all went well, after running the STM32 ST-Link Utility I checked my arduino IDE and the board was there in my board manager. I removed the ST-Link V2 and connected via USB and restarted the Arduino IDE and all my board for the STM32 was gone.
Any advice before I take a hammer to the boards? :D

iclazion
Автор

How about doing the task with STM32Cube IDE?

tomfranky
Автор

Great video! I just have an issue, when I connect mi board the arduino IDE doesn't recognize the serial port... is there something that i can do?

DanyLeo
Автор

Hi, thanks for your tutorial. but I have a problem, when I connect my STM32 blue pill via USB/min USB cable. My computer does not detect anything . I dowloaded well the bootloader following your instruction. I installed drivers succesfully but board does not appear in device manager panel of windows10. Have you an idea ? thanks in advance

MelJeusette
Автор

hello, I have followed your instructions but when I try to upload my code in the arduino IDE I get :
maple_loader v0.1
Resetting to bootloader via DTR pulse
Reset via USB Serial Failed! Did you select the right serial port?
Searching for DFU device
Assuming the board is in perpetual bootloader mode and continuing to attempt dfu programming...

dfu-util - (C) 2007-2008 by OpenMoko Inc.
Couldn't find the DFU device:
This program is Free Software and has ABSOLUTELY NO WARRANTY


timeout waiting for 2 serial

Do you have any solution ? thank you in advance

artiliam
Автор

Sir, I have completed everything and try to upload code to my STM32 bluepill but it show error. The Error is just “Access is denied “, how do I solve it?

I am currently using Window 11

limweikang
Автор

Can you fix the link to the arduino driver to point directly to the driver file to load for windows. It points to a directory with many files and subdirectories but it's not clear where is the driver itself.

Also, I think you skipped the part of installing the stm32 in arduino after adding the json url to the board manager.

FirstLast-ihec