jtagonizer

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 195f16c41bd0a1ad1445d1388e49372a18ca1372
parent 41830b1ba03bee21a6753a340e6e8e448d3a8b06
Author: Brian Swetland <swetland@frotz.net>
Date:   Sun, 25 Nov 2018 10:05:03 -0800

readme: update a bit

Diffstat:
MREADME | 9++++++---
Mjtag.h | 2++
Mzynq.c | 2++
3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -12,8 +12,11 @@ zynq reset - reboot the chip zynq regs - briefly stop both CPUs and report their state zynq run <image> - halt CPU0, download image to 0 (OCR), resume pc=0 -fpga - Xilinx 7-Series FPGA downloader +zynq - Xilinx 7-Series FPGA downloader -------------------------------------- -fpga - print the status register -fpga <bitfile> - reset part and download bitfile +zynq fpga <bitfile> - reset part and download bitfile +debug - JTAG debug register tool (check debug.c comments) +--------------------------------------------------------- +debug write <addr> <val> +debug read <addr> diff --git a/jtag.h b/jtag.h @@ -93,6 +93,8 @@ typedef struct { // returns number of devices detected, negative on error int jtag_enumerate(JTAG *jtag); +void jtag_print_chain(JTAG *jtag); + // get information about the nth device on the chain JTAG_INFO *jtag_get_nth_device(JTAG *jtag, int n); diff --git a/zynq.c b/zynq.c @@ -72,6 +72,8 @@ int main(int argc, char **argv) { } if (jtag_mpsse_open(&jtag)) return -1; + jtag_enumerate(jtag); + jtag_print_chain(jtag); if (!strcmp(argv[1], "fpga")) { if (argc != 3) {