To update The!Cart logic you need either
- Xilinx Impact and a compatible programming cable (eg the
  Xilinx DLC9G USB platform cable) to program TheCart.jed
or
- an SVF player (eg OpenOCD on a Raspberry Pi) to program
  TheCart.svf

The JTAG pads are located on the left side of the PCB, pin 1 is
on the bottom, towards the cartridge port, and have this pinout:

1 (VCC/5V)
2 (TDO)	
3 (TDI)
4 NC
5 NC
6 (TMS)
7 (GND)
8 (TCK)


Updating with Xilinx Impact
===========================

- Connect VCC, GND, TMS, TCK, TDI and TDO to the programming cable.

- Insert The!Cart in your Atari and power it up.

- Start Impact, create a new project, do a boundary scan, assign
  "TheCart.jed" to the XC95144XL and start programming.

- Power off the Atari and disconnect the JTAG cable.


Updating with OpenOCD on a Raspberry Pi
=======================================

- Install OpenOCD with "sudo apt install openocd" on Raspberry Pi OS

- Connect GND, TMS, TCK, TDI and TDO to the GPIO pins of your
  Raspberry Pi. OpenOCD expects the following GPIO pins to be used:

  JTAG Pin  Raspberry Pi GPIO pin
  2 (TDO)   21 (GPIO 9)
  3 (TDI)   19 (GPIO 10)
  6 (TMS)   24 (GPIO 8)
  7 (GND)   25 (GND)
  8 (TCK)   23 (GPIO 11)

- Insert The!Cart in your Atari and power it up.

- If you have a Raspberry Pi 0-4 run the "openocd-rpi.sh" script.

- If you have a Raspberry Pi 5 run the "openocd-rpi5.sh" script.

- Power off the Atari and disconnect the JTAG cable.
