Рет қаралды 102,518
Guide on how to connect, check, program, and debug your custom STM32-based hardware via SWD and the ST-Link debugger utilising STM32CubeIDE.
If you have any questions or suggestions for future videos, please let me know in the comments!
[Timestamps]
00:00 Introduction
00:28 ST-Link
01:08 Hardware Connections
02:11 ST-Link Utility (Checking that we can connect to STM32 MCU)
03:37 STM32CubeIDE (Programming and debugging software package)
05:22 Enabling SWD
06:04 Setting up an external high-speed crystal (HSE)
07:10 Additional peripheral selection
08:50 LED blinking test code
09:44 Building code and checking for compiler errors
10:02 Debug configuration, debugging, and flashing via ST-Link
11:26 Running, pausing, and setting breakpoints
12:20 Hardware running code
[Hardware]
ST-Link/V2 Debugger: www.st.com/en/...
20-pin to 10-pin 1.27mm Adapter: www.olimex.com...
[Software]
STM32CubeIDE: www.st.com/en/...
ST-Link Utility: www.st.com/en/...
ID: QIBvbJtYjWuHiTG0uCoK