In this video I talk about hardware and software requirements for debugging STM32 in vscode using cortex-debug plugin.
I also talk about important compiler flags that can ruin debugging.
Feel free to navigate to these time points:
0:00 - Introduction
0:18 - Hardware used in the video
0:33 - Software for stlink and jlink upgrade and reflash
1:38 - stlink and jlink debugger software
3:10 - VSCode Cortex-Debug pluging and configuration
9:50 - JLink demonstration and Debug view walkaround
12:17 - STLink (st-util) demonstration
13:05 - Compiler optimizations for debugging
Links:
https://github.com/stlink-org/stlink
https://www.segger.com/downloads/jlink/
https://www.st.com/en/development-tools/stsw-link007.html
https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
Project used in the video:
https://github.com/prtzl/Embedded_videos/tree/master/045_BUILDING-PT4