Skip to main content
jstor.1the lost one
Associate II
October 27, 2020
Question

How to program stm32f401 black pill with Arduino IDE?

  • October 27, 2020
  • 2 replies
  • 8781 views

I have a stm32f401 black pill, question is can you program it with the st linkv2 on an arduino IDE ? and if yes is there any tutorials on this subject ? I have already been able to program the blue pill with no problems using the uploaded bootloader

2 replies

Amel NASRI
Technical Moderator
October 30, 2020

Hi @jstor.1the lost one​ ,

You can refer to my answer in this thread. The links provided there contains all details you need to get started with Arduino IDE for STM32 products.

-Amel

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.
Associate II
November 20, 2023

The cited link (this link) is going to nirvana!!

Lina_DABASINSKAITE
Community Manager
January 10, 2024

Hello @badiw ,

Thanks for being part of ST Community. The link has been recovered. 

Regards,
Lina 

​In order 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.
Tesla DeLorean
Guru
January 10, 2024

You need to install a boot loader to allow CDC / MSC connectivity, for update or drag-n-drop type operation.

The button should allow USB DFU connectivity if you connect the cable whilst pressing. From there tools like DfuSe or STM32 Cube Programmer should be able to push an object file inward.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..