User Tools

Site Tools


project:arm_debugging:start

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
project:arm_debugging:start [2019/08/21 16:00] – [Example: Unbricking (restoring) Proxmark bootloader] trimenproject:arm_debugging:start [2019/12/07 18:16] – [Black Magic Probe] BMP + execution trace abyssal
Line 471: Line 471:
  
 There is a [[https://brmlab.cz/project/chipwhisperer/start | separate project for Chipwhisperer]] and its usage for side channels. Look there. There is a [[https://brmlab.cz/project/chipwhisperer/start | separate project for Chipwhisperer]] and its usage for side channels. Look there.
 +
 +===== JTAG supplying external clock =====
 +
 +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.
project/arm_debugging/start.txt · Last modified: 2021/06/05 19:29 by abyssal