JTAG Hacking & Asyncio Implementation


Summary of my bookmarked links from May 7th, 2024

Links

  • JTAG Hacking with a Raspberry Pi - Introducing the PiFex

    This blog post delves into using Armbian-based single-board computers (SBCs) for hardware hacking, focusing on streamlining initial setup and configuration hurdles. It introduces PiFex, a Raspberry Pi companion board aiding in hardware assessment and embedded protocol learning. PiFex exposes UART, SPI, I2C, JTAG, and SWD interfaces, simplifying connections for hardware hacking. Additionally, it offers software solutions like Jupyter Notebooks and facilitates logic analyzer integration. A demonstration involves reverse-engineering a JTAG TAP on an SSD, showcasing practical hardware hacking techniques. The post emphasizes open-sourcing PiFex soon, enriching the hardware hacking community.

  • How Python Asyncio Works: Recreating it from Scratch

    The article explores asyncio in Python, breaking down its core concepts. It begins with an overview of generators and their memory efficiency benefits. Then, it delves into asyncio's event loop, demonstrating how it manages tasks with generator-like behavior. It progresses to implementing sleep functionality using asyncio. The transition from using yield to await is detailed, culminating in a full asyncio implementation. Finally, it highlights the seamless integration of asyncio in code. The piece provides a comprehensive understanding of asyncio's inner workings.