November 30, 2022

EBAZ4205 Bitcoin miner board - JTAG

This page is really a placeholder for things I want to investigate in the future.

My interest is in using JTAG to read and more importantly to write the NAND flash. This could be a way of patching the NAND image (which I now do via U-Boot) or of installing a Kyu image into a NAND partition (which could also be done by way of U-Boot and tftp).

I have used the JTAG on the EBAZ board to inject JTAG images. To do this I use a homebrew USB to JTAG "dongle" made from a Pi Pico board. The board itself costs $4, so it is almost certainly the cheapest option available.

My pico runs "xvc-pico" where XVC is "Xilinx Virtual Cable".

Note that the DirtyJTAG page says that it aims to work with UrJTAG rather than OpenOCD. I incline towards using OpenOCD (but should keep an open mind) For OpenOCD, Versaloon is recommended. Note that Versaloon (as well as Dirty JTAG) run on the infamous "blue pill", which is an old friend and I have a box full ready for some new project.

I try "dnf install urjtag" and it works!

The above provides quite a group of options to investigate and sort out. From there, it is on to OpenOCD (or UrJTAG). Once we get something on the air, these links may be useful:

The first article uses a Segger JTAG adapter (for which I have a cheap clone that I have never used). The second article uses OpenOCD as well as UrJTAG along with a "Flyswatter" JTAG adapter.

He claims that UrJTAG is newer, simpler, and friendlier, yet I read elsewhere that UrJTAG is some of the oldest open source JTAG software. Who should we believe?


Feedback? Questions? Drop me a line!

Tom's Computer Info / tom@mmto.org