New STM32F401CCU6 Black Pill

Post Reply
alu
Posts: 5
Joined: Thu Jan 14, 2021 5:50 pm

New STM32F401CCU6 Black Pill

Post by alu »

Hi

I recently bought a "new" black pill board from Aliexpress. I see that is new because the pinout is slightly different from other boards.

https://es.aliexpress.com/item/4001157813131.html

Doc is in Chinese. Hope someone has more information.

That is my first STM32 board. I can use with arduino and download with DFU mode via USB (well it has a hard time getting into that mode sometimes), now I am researching to download with a bootloader. Any help would be appreciated.
Attachments
STM32F401CCU6 Black-pill
STM32F401CCU6 Black-pill
IMG_193018_1.jpg (58.45 KiB) Viewed 511 times
STM32F401CCU6 Black-pill
STM32F401CCU6 Black-pill
IMG_192956.jpg (33.47 KiB) Viewed 511 times
STM32F401CCU6 Black-pill
STM32F401CCU6 Black-pill
IMG_193948.jpg (64.3 KiB) Viewed 511 times
fredbox
Posts: 103
Joined: Thu Dec 19, 2019 3:05 am
Answers: 2

Re: New STM32F401CCU6 Black Pill

Post by fredbox »

No need for additional bootloaders.

Press both buttons, release reset, release boot 0. That should put you in dfu mode.
alu
Posts: 5
Joined: Thu Jan 14, 2021 5:50 pm

Re: New STM32F401CCU6 Black Pill

Post by alu »

Yes I do!. My problem was that if usb serial is opened, they can't enter in DFU. So first close serial.
I hope with some downlader I can simplify process.
ag123
Posts: 588
Joined: Thu Dec 19, 2019 5:30 am
Answers: 2

Re: New STM32F401CCU6 Black Pill

Post by ag123 »

try using a st-link v2
https://www.adafruit.com/product/2548
https://octopart.com/st-link%2Fv2-stmic ... s-20057793
https://octopart.com/2548-adafruit+indu ... 88022?r=sp

it saves you the trouble of pressing the buttons.
but otherwise i'm simply using the button presses it is adequate for downloads.
the finger dance is
- press both reset and boot0
- release reset
- release boot0 1 sec later

and st-linkv2 is a SWD debugger - it is more useful than just downloading firmware

alternatively you can search for 'hid bootloader' using the search box on top of this web.
i've not used it. i'm happy with just st-link and the built-in usb dfu bootloader
Post Reply

Return to “STM32F4 based boards”