JTAG Hat (Remix) for Raspberry Pi

2023-04-13 by rincewind

This is a modified version of Blinkinlabs JTAG Hat. The JTAG Hat is attached to a Raspberry Pi and allows the use of OpenOCD (for JTAG/SWD debugging) and flashrom (for SPI flash programming). My remix provides the following features: Level-shifted JTAG / SWD interface, supports 1.8V to 5V targets, keyed 20-pin “classic” ARM JTAG and[…] Read More…

RV-3029-C2 RTC library

2022-01-09 by rincewind

In preparation for an yet-unfinished project, here is a first version of my RV-3029-C2 RTC library.

R-C compensation tool

by rincewind

Similar to Analog Devices LB-013, this is a simple R-C-network that is useful when optimizing the loop compensation of switching regulators. I made this to use parts I had around (especially the 5-pin DIP switches), primarily because a nice PCB with silkscreen is a lot prettier than a bit of perfboard. Files are available at[…] Read More…

I2C fault injection

2021-07-02 by rincewind

When writing drivers for a new I2C host controller, it is important to not only get the normal operation working, but to implement robust error handling and recovery. This requires a way to force certain conditions that a “normal” I2C slave device will not exhibit. There is a I2C fault injection/testing framework for Linux, which[…] Read More…

PM666x Frequency Counter: OCXO & Reset MOD

2020-10-16 by rincewind

Adding an OCXO and fixing reset problems on a Philips PM666x frequency counter