https://github.com/chepo92/jtagbang
JTAGbang Arduino
https://github.com/chepo92/jtagbang
Last synced: about 2 months ago
JSON representation
JTAGbang Arduino
- Host: GitHub
- URL: https://github.com/chepo92/jtagbang
- Owner: chepo92
- Created: 2020-06-25T17:03:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T17:41:43.000Z (almost 5 years ago)
- Last Synced: 2025-02-04T18:48:36.987Z (4 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JTAGbang
JTAGbang ArduinoThis is a mirror for JTAGbang code from Karl Hans Janke's blog http://www.khjk.org/log/2013/aug/jtagbang.html
## Description (by the author)
This is a very simple Arduino program that allows direct interaction with the JTAG interface from a serial terminal. It is called jtagbang because it is essentially bit-banging on the JTAG pins.## Board Compatibility
Tested with:
- Arduino UNO
## Wiring
## Usage (by the author)
So, long story short: Upload the attached sketch to an Arduino, take a peek at the top of the file maybe, and connect to it with a terminal emulator (read minicom) or the Arduino IDE's serial monitor (set to line-ending "Newline"). Enter a capital X and it will interrogate the JTAG interface to find all the connected devices (chips). It lists their built-in identification codes which take the form of 32 bits in four groups:59604093 [0101 1001011000000100 00001001001 1]
The groups are, from most to least significant bit: 4-bit product version (5), 16-bit product code (9604 is the XC9572XL), 11-bit manufacturer code (00001001001 is Xilinx), and one bit that is always 1 for thaumaturgic reasons.
## License
Licensed by Karl Hans Janke under ISC
https://opensource.org/licenses/ISC