~/talk

Beyond Simple Software Debugging

links:none on file
slides:none on file

OpenOCD scripts and a logic analyzer find and manipulate boundary‑scan bits to do more than CPU debugging: a repo of scripts proves toggling an LED on an STM32 via boundary‑scan works by flipping bit 142, after mapping pins from a BSDL or reconstructed description; some devices expose JTAG for only about 8 ms after power‑on so a remote power supply and timed sequences are needed; PIC32 shows partial success, while i.MX6 trips the CPU into reset; tools used: OpenOCD, telnet, BSDL, IDA Pro/radare2 and custom scripts.

AI-written summary · about

  1. 0:00Intro
  2. 0:53The target group
  3. 1:43Why I use OpenOCD?
  4. 2:34My reverse engineering rules
  5. 3:43Short investigation: History of JTAG
  6. 4:16boundary scan
  7. 6:02BSDL Example 1
  8. 8:43The road map
  9. 9:40Exploring JTAG port (time frames)
  10. 9:52Exploring JTAG port (Allwinner JTAG/SD)
  11. 13:41Exploring JTAG port (Open Sesame)
  12. 14:40Exploring the internals
  13. 15:58Find the right TAP
  14. 16:48Find the right Instruction
  15. 17:45Find the right Bits
  16. 18:29Exploring JTAG port (BS on STM32)
  17. 21:57Exploring JTAG port (GPIO + BS on STM32)
  18. 24:40Exploring JTAG port (GPIO + BS on PIC32)
  19. 25:45Exploring JTAG port (GPIO + BS on IMX6)
  20. 26:43Exploring JTAG on iMX6
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.