Differences

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

Link to this comparison view

Both sides previous revision Previous revision
project:arm_debugging:start [2019/12/02 00:56]
abyssal [JTAG/SWD external clock] SWCLK/TCK can supply crystal oscillator
project:arm_debugging:start [2019/12/07 19:16] (current)
abyssal [Black Magic Probe] BMP + execution trace
Line 475: Line 475:
  
 It seems that when you desolder clocks (e.g. from crystal oscillator) the SWD/JTAG clock (SWCLK/TCK) can supply the clock to the chip which can be useful e.g. when you need glitch clock, but still would need operation via SWD/JTAG. Tested on [[https://​brmlab.cz/​project/​chipwhisperer/​start#​glitching_stm32_external_board_through_ufo-board_interface | STM32F429 discovery board]]. It seems that when you desolder clocks (e.g. from crystal oscillator) the SWD/JTAG clock (SWCLK/TCK) can supply the clock to the chip which can be useful e.g. when you need glitch clock, but still would need operation via SWD/JTAG. Tested on [[https://​brmlab.cz/​project/​chipwhisperer/​start#​glitching_stm32_external_board_through_ufo-board_interface | STM32F429 discovery board]].
 +
 +Doesn'​t seem to work with Black Magic probe without clock.
 +
 +===== Black Magic Probe =====
 +
 +[[https://​github.com/​blacksphere/​blackmagic/​wiki | Black Magic Probe]] (BMP) a replacement either for STLink firmware or usable as firmware on various ARMs to debug other ARMs.
 +
 +Pinout on the debug board is only findable in sources under src/​platforms.
 +
 +BMP creates /​dev/​ttyACM* interface that can be used without OpenOCD as extended-remote target (see BMP wiki).
 +
 +Some interesting features compared to old OpenOCD+gdb is tracing support:
 +
 +  * https://​github.com/​blacksphere/​blackmagic/​wiki/​Serial-Wire-Debug-TRACESWO-support
 +  * https://​github.com/​orbcode/​orbuculum
 +
 +Note that you have to disable memory protections in order to read some memory (set mem inaccessible-by-default off), even then some parts that are accessible via STLink are not with BMP.
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki