Город МОСКОВСКИЙ
00:12:50

STM32 + SWD + ST-Link + CubeIDE | Debugging on Custom Hardware Tutorial - Phil's Lab #4

Аватар
Phil’s Lab
Просмотры:
59
Дата загрузки:
29.08.2024 07:11
Длительность:
00:12:50
Категория:
Обучение

Описание

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: https://www.st.com/en/development-tools/st-link-v2.html
20-pin to 10-pin 1.27mm Adapter: https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/

[Software]
STM32CubeIDE: https://www.st.com/en/development-tools/stm32cubeide.html
ST-Link Utility: https://www.st.com/en/development-tools/stsw-link004.html

ID: QIBvbJtYjWuHiTG0uCoK

Теги: stm32,swd,jtag,hardware,kicad,st-link,st,cube,cubemx,cubeide,programming,c++,tutorial,electronics,engineering,philip,salmony,debug,debugging,lesson,arm

Рекомендуемые видео