Help With BlackPill STM32 F411 #285
Replies: 6 comments 10 replies
-
I think I remember using the Arduino software to upload OpenDeck to the Pico? Can I use it for the BlackPill? That was much easier for us tech-challenged people. Actually just looked and it looks like it was just downloading the latest OpenDeck release for the Raspberry Pi Pico and dragging the file onto the board in OSX's finder, if I remember correctly? |
Beta Was this translation helpful? Give feedback.
-
The wiki clearly states the supported operating systems for the flashing of STM32. macOS isn't among them. |
Beta Was this translation helpful? Give feedback.
-
It its confusing because at this link there are instructions for flashing STM32 boards from a Mac; And it says; macOS Note: M1 macs aren't tested. If the instructions from this page have already been followed and executed, this section should be skipped. It is assumed here macOS Catalina or higher is used. Earlier versions are not supported. Run the following commands from terminal to download the necessary packages (assuming Homebrew is installed). Run the following commands from terminal to download the necessary packages (select the entire block and paste in into terminal): brew install dfu-util And no my MacBook is not an M1, it's about 11 years old I think. |
Beta Was this translation helpful? Give feedback.
-
I will try to install ubuntu in a Virtual Machine on macOS the next days because i didn‘t succeed with the build pipeline on macOS (with my knowledge) if i am successful i can share the vm image for other macOS users. https://ubuntu.com/blog/how-to-create-a-vscode-linux-remote-environment |
Beta Was this translation helpful? Give feedback.
-
I bought something called an "ST-Link" ($7.00 on Amazon) that is supposedly, from what I read, the way that the Mac can program the BlackPill. I'll post something if it works. |
Beta Was this translation helpful? Give feedback.
-
Hey for all who are interested, the little ST LINK V2 USB "dongle" sort of thing worked! You plug the four (programming pins? I don't know what they are called?) on the end of the BlackPill into the ST LINK pins (there are guides if you Google it), then plug the ST LINK into your computer (I used a MacBook). Then you download something called the STM32CubeProgrammer from the STM32 site. There is something called the STM32TrustedPackageCreator that downloads too, but I used the Programmer only. Then you download the OpenDeck BlackPill 411 .bin file from this GitHub (I didn't try the .hex file, but the .bin worked for me), in the Programmer app, you hit the "connect" button to the ST LINK, In the Erasing & Programming Tab in the Programmer choose the OpenDeck BlackPill .bin file you downloaded, and hit the programming button. There are two programming buttons, one regular one and one marked Automatic. The Automatic didn't work for me. It will ("flash"?) OpenDeck to the BlackPill. Then you can disconnect the ST LINK, plug the BlackPill in with a normal USB Cable, and it will show up in both AudioMidi Setup and in the OpenDeck Configurator. I used the latter in Chrome, not Safari, as Safari can sometimes be weird with stuff like that. I haven't had time to try it yet with actual buttons and pots connected, but it looks good so far! I'll update if there are any problems. |
Beta Was this translation helpful? Give feedback.
-
Hi! I bought a few of the BlackPills to be the brain of a midi controller. I'm having problems flashing the board.
I tried OpenDeck previosuly on a Raspberry PI Pico just to learn, and it worked just fine, but I wanted more ins & outs.
The Blackpill uses a different method to flash, and I can't get it to work?
I plug the BlackPill into my MacBook Pro 2013 running Big Sur.
To get into Bootloader-Mode I follow the instructions;
1 Connect the board to computer with USB C cable
2 Hold down BOOT0 button
3 While holding down BOOT0 button, press and hold NRST button for 1 second
4 Release NRST button while still holding BOOT0 button for another 1 second
5 Release BOOT0 button
The Blackpill looks like this;
I then open up Terminal and paste in:
sudo dfu-util -l
Terminal gives me an error message:
Am I missing a step, or is there another method of flashing the Blackpill?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions