010 - T0015! Part 0x3 - Debug Interfaces

Unnamed Reverse Engineering Podcast · 15 May 2018 · 35m

What this episode covers

Hosts Alvaro Prieto and Jen Castilla discuss debugging interfaces like JTAG and SWD, explaining their history from boundary scan testing to modern in-circuit emulation. They review key hardware tools including Segger J-Link, BlackMagicProbe, ST-Link, and the BusBlaster, noting how open-source alternatives have drastically reduced costs. The conversation highlights the JTAGulator for finding hidden debug pins and argues that affordable, accessible tools have lowered barriers for hardware startups and security researchers.

Mentioned

Companies
Segger, Cypress, Microchip, STMicro, Nordic Semiconductor, NXP, WinRiver, Intel
Products
J-Link, BlackMagicProbe, ST-Link, BusBlaster, JTAGulator

Other shows on the same ground, closest first.

  • Embedded.fm · 1h 12m

    215: Heisenbugs

    Guest Alvaro Prieto joins hosts Alicia White and Christopher White to discuss the fundamentals of debugging embedded systems, distinguishing between software debuggers, hardware programmers, and microprocessor debug support. They cover the evolution from print-based debugging to using tools like GDB, LLDB, and Visual Studio Code, while explaining the roles of hardware interfaces like J-Tag, SWD, and Trace. The conversation highlights the trade-offs between open-source toolchains (GCC, OpenOCD) and paid professional IDEs (Keil, IAR, Code Composer Studio), emphasizing how paid tools simplify setup for complex chip architectures. Prieto also shares anecdotes about his personal projects, including a cheese-aging cave and a new reverse engineering podcast.

  • The Spark Gap · 43m

    The Spark Gap - Episode 17

    Hosts Carl and Corey discuss the fragmented landscape of in-circuit programmers and debuggers for embedded systems, highlighting the pain of dealing with incompatible protocols like JTAG, SWD, and proprietary interfaces from vendors such as NXP, Microchip, and ST. They detail the high cost of commercial tools like the SEGGER J-Link and the risks of relying on bootloaders, citing a $58,000 loss by SparkFun on their MicroView Kickstarter due to a bootloader overwrite error. The hosts advocate for understanding memory maps and linker scripts, and suggest building custom programmers or using open-source tools like OpenOCD to gain deeper knowledge of microcontroller internals and avoid vendor lock-in.

  • Embedded.fm · 1h 05m

    180: Chickens in Helmets

    Peter Esden-Tempski of 1BitSquared and Gareth McMullin of Black Sphere explain the Black Magic Probe, an open-source J-Tag/SWD debugger that uses the GDB extended remote protocol to eliminate the need for middleware like OpenOCD. They discuss the device's architecture, its support for Cortex-M devices from vendors like ST and Atmel, and the accompanying 1Bitsy development board. The conversation covers their Kickstarter campaign to fund mass production, the technical differences between J-Tag and SWD, and the future roadmap including Cortex-A support.

  • Embedded.fm · 55m

    422: It's Not a Bug, It's a Feature

    Hosts Elecia White and Chris White discuss the 'Zone of Proximal Development' using origami as an analogy for learning to code from scratch. They review news about reanimating dead spiders for robotics and continuous ultrasound imaging, while also addressing the semiconductor inventory glut. The conversation shifts to practical tooling, specifically Elecia's disappointment that her SEGGER J-Link debugger is no longer supported, leading to a debate on future-proofing hardware purchases versus buying cheap.

  • Embedded.fm · 1h 38m

    200: Oops

    Hosts Alicia and Christopher White celebrate the 200th episode of Embedded.fm with a panel of former guests: Alvaro Prieto, Andrei Chichak, Elizabeth Brenner, Chris Svec, and Chris Gammell. The group discusses their favorite embedded tools, including Saleae logic analyzers, Digilent Analog Discovery, Beyond Compare, and HP16C calculators, while sharing humorous field stories and interview anecdotes. They reflect on the joys of working in embedded systems, such as seeing products on retail shelves and the satisfaction of debugging complex hardware-software interactions.

The summary, chapters and topics are generated from the episode’s audio by this directory, not written by Unnamed Reverse Engineering Podcast. The episode itself belongs to its publisher.