Programming the Adafruit Feather STM32F405 Express with STM32CubeIDE - Maker.io

  Переглядів 19,947

DigiKey

DigiKey

4 роки тому

Adafruit released a new Feather Express board based on the STM32F405 microcontroller. Adafruit will focus on CircuitPython with the new board, but with all the time we spent using STM32CubeIDE, we just had to try programming it with C!
In this tutorial, we’ll create a quick blinking LED example and upload it to the board using the built-in DFU bootloader. That will require using the dfu-util tool, and if you’re on Windows, you’ll need to install the WinUSB driver via Zadig.
From there, we’ll create a simple temperature logger. The Feather STM32F405 Express has a built-in SD card and STEMMA-QT connector, so we’ll take a reading from a PCT2075 sensor over I2C, print it out over the virtual serial port (USB), and log it to a file on the SD card.
Finally, we’ll use the test points on the back of the board to break out the SWD debug port. That will allow us to perform step-through debugging operations on the board.
WRITTEN TUTORIAL
If you would like to see the steps performed in this video in written form along with the code, please see the tutorial here:
www.digikey.com/en/maker/proj...
ADDITIONAL RESOURCES
Related Projects www.digikey.com/maker/search-...
Download STM32CubeIDE: www.st.com/en/development-too...

КОМЕНТАРІ: 27
@saustin98
@saustin98 4 роки тому
Man, these are just fabulous. Shawn puts a LOT of work into these. I love the speed he works at. You can kind of soak it all in at a high level, then go back and drill down where you need to, Thanks, Shawn! (And DigiKey)
@leestephens1137
@leestephens1137 4 роки тому
As others have commented, tremendous amount of information clearly and articulately presented. I love the pace and style, thank you!
@nickolasbowen4036
@nickolasbowen4036 2 роки тому
a trick: you can watch series on Flixzone. I've been using it for watching a lot of movies recently.
@solomonelisha3543
@solomonelisha3543 2 роки тому
@Nickolas Bowen definitely, I have been using Flixzone} for years myself :D
@Graham1904
@Graham1904 4 роки тому
Excellent video. Why can't everyone have such a clear and precise presentation manner. Awesome. Keep it up.
@ShawnHymel
@ShawnHymel 4 роки тому
Thanks! I'm glad you liked it :)
@scottybites812
@scottybites812 4 роки тому
Thanks Shawn for covering debugging with the ST_Link V2 - I needed help with that. Keep up the STM32 videos, they are awesome!!
@ShawnHymel
@ShawnHymel 4 роки тому
Glad it helped!
@bmillier
@bmillier 4 роки тому
Great Video- another reason I'm glad I buy all my parts from D-K. I initially found ST32CUBE IDE hard to understand and moved to Mbed on-line IDE, which is very easy to use. However, once you get into more complex programs, it looks like all of the firmware available in ST32Cube will come in handy. These videos help a lot.
@kaypope1581
@kaypope1581 3 роки тому
I ordered the board from Digi-Key! Thanks Shawn for your great tutorial!
@spacewolfjr
@spacewolfjr 4 роки тому
Awesome, I can't wait for these to be released. Thanks Shawn!
@ShawnHymel
@ShawnHymel 4 роки тому
This is the only one I've got for the Feather STM32F405 planned for now...I'm switching over to machine learning for a bit after this. My goal is to wrap my brain around TensorFlow Lite...maybe get it running on an STM32 :)
@Graham1904
@Graham1904 4 роки тому
Wow, so much information to absorb in such a short video....
@ciseli123
@ciseli123 4 роки тому
Thanks for the video! A ton of useful info in here :)
@lucvanhove9639
@lucvanhove9639 4 роки тому
Very clear and detailed information. 👍👍👍👍👍
@ShawnHymel
@ShawnHymel 4 роки тому
Thank you!
@alexcesarpalma
@alexcesarpalma 3 роки тому
3:13 DON'T forget to select DEBUG in SERIAL WIRE, If you leave it like that, it will desconfigure the microcontroller and have to erase the micro with STM32CubeProgrammer
@Graham1904
@Graham1904 3 роки тому
Excellent video. Keep up the good work.
@kwccoin3115
@kwccoin3115 4 роки тому
Just great
@naasikhendricks1501
@naasikhendricks1501 4 роки тому
St Provides a Direct Bootloader Utility. Which just works.
@LOLWUT281
@LOLWUT281 3 роки тому
ST has the 'StM32 Cube Programmer' that gives you a GUI to upload code via DFU instead of CLI.
@Tarbard
@Tarbard 3 роки тому
Amazing
@kevinwaite6725
@kevinwaite6725 3 роки тому
Awesome I just bought this feather and I need C plus I have code for the Waveshare RGB OLED that I have..Thank you Shawn. I don't want to use circuit python for my project
@DGNG-dd3to
@DGNG-dd3to 2 роки тому
Would the V3 programmer work on this?
@greyhnd001
@greyhnd001 2 роки тому
Wouldnt it be easier to just buy an esp32 or esp8266? Arduino is so easy to program.
@broccolee4328
@broccolee4328 4 роки тому
Unfortunately, I couldn't get mine to work at all. I followed almost all of your steps except for: (1) I am debugging using STLink, (2) my maximum and minimum sector sizes were set to 1024, because that's the lowest setting I can format my SD card to. The problems I'm seeing are: (1a) my system doesn't recognize the mcu as virtual com port after loading the software, (2a) SD card functionality did not work i.e. it did not create a file in the directory at all... Any help troubleshooting this would be very much appreciated! I tried replying to your tutorial on digikey, but the site would let me leave a comment...
@jeremyloveslinux
@jeremyloveslinux 2 роки тому
If you have a sd card above 32GB, Windows does not allow formatting in fat32. Did you actually have a NTFS or exFAT formatted card installed?
STM32 Guide #2: Registers + HAL (Blink example)
30:02
Mitch Davis
Переглядів 177 тис.
ДРУГА РЕПЕТИЦІЯ alyona alyona та Jerry Heil на сцені Євробачення-2024
00:34
Євробачення Україна | Eurovision Ukraine official
Переглядів 146 тис.
Limor Fried, Founder & CEO, Adafruit Industries | MAKERS
4:48
MAKERS
Переглядів 103 тис.
First Look at the Adafruit Feather RP2040 - Great Pico Alternative?
9:27
Learn Embedded Systems
Переглядів 29 тис.
STM32 Guide #4: Generated Code, HAL, and Bare Metal
26:20
Mitch Davis
Переглядів 73 тис.
CircuitPython Tutorial
58:18
Derek Banas
Переглядів 52 тис.
What Is Feather?
2:48
Adafruit Industries
Переглядів 39 тис.
Getting Started with CircuitPython - Hosted by Dan
1:01:09
Adafruit Industries
Переглядів 19 тис.
KiCad STM32 + RF + USB Hardware Design - Phil's Lab #5
44:01
Phil’s Lab
Переглядів 333 тис.
I shouldn’t have kept the $1,000,000 computer
28:05
Linus Tech Tips
Переглядів 118 тис.
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Переглядів 1,6 млн
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 675 тис.
I wish I knew this When Istarted Programming #school #software  #codingtips
0:34
Claude Ams - Programming Guru 💻
Переглядів 10 млн