debugging_hardware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
debugging_hardware [2020/05/20 13:18] – [gdb automated tests] admindebugging_hardware [2022/04/29 14:07] (current) – [gdb] admin
Line 1: Line 1:
 +
 +ARM semihosting
 +
 +ITM, available in M3/M4/M7, output debug msgs over serial SWO / SWV (protocol)
 +
 +ETM
 +
 +SWD: SWCLK, SWDIO plus (optional) SWO
 +
 +SWO is an optional extension of the SWD interface
 +
 +RTT (Segger)
 +
  
 [[https://github.com/blacksphere/blackmagic/wiki|Black Magic Probe]] [[https://github.com/blacksphere/blackmagic/wiki|Black Magic Probe]]
 +
 +https://www.codeinsideout.com/blog/stm32/swv/
  
 ====== ARM ====== ====== ARM ======
Line 19: Line 34:
 http://snowcap.fi/blog/2011/11/21/openocd-with-swd/ http://snowcap.fi/blog/2011/11/21/openocd-with-swd/
  
 +====== J-Link ======
 +https://gnu-mcu-eclipse.github.io/debug/jlink/install/
 +
 +https://boundarydevices.com/debugging-using-segger-j-link-jtag/
 +====== OpenOCD ======
 +https://wrongbaud.github.io/stm-xbox-jtag/
 +
 +https://www.allaboutcircuits.com/technical-articles/getting-started-with-openocd-using-ft2232h-adapter-for-swd-debugging/
 ====== gdb ====== ====== gdb ======
 +{{ :gdb_cheat_sheet.pdf |}}
 +
 https://www.youtube.com/watch?v=PorfLSr3DDI https://www.youtube.com/watch?v=PorfLSr3DDI
  
Line 28: Line 53:
 https://news.ycombinator.com/item?id=19972435 https://news.ycombinator.com/item?id=19972435
  
 +https://interrupt.memfault.com/blog/cortex-m-breakpoints
 +
 +Some interesting articles:
 +
 +https://jvns.ca/blog/2014/02/10/three-steps-to-learning-gdb/
 +
 +https://jvns.ca/blog/2016/08/10/how-does-gdb-work/
 +
 +https://jvns.ca/blog/2018/01/04/how-does-gdb-call-functions/
 ====== gdb automated tests ====== ====== gdb automated tests ======
  
 - Discussion on linkedin Embedded Systems Design - Discussion on linkedin Embedded Systems Design
 +
 +https://developers.redhat.com/blog/2017/11/10/gdb-python-api/
  
 https://answers.launchpad.net/gcc-arm-embedded/+question/256851 https://answers.launchpad.net/gcc-arm-embedded/+question/256851
Line 49: Line 85:
  
 https://interrupt.memfault.com/blog/gdbundle-plugin-manager https://interrupt.memfault.com/blog/gdbundle-plugin-manager
 +
 +[[https://www.youtube.com/watch?v=QQcp8CPjkoY|Debugging ARM hard faults with gdb]]
  • debugging_hardware.1589980710.txt.gz
  • Last modified: 6 years ago
  • by admin