JTAG USB User's Guide
Linux
This utility currently only works with x86 Linux. While the prior version (jtag_usbv2) required usbfs. The most recent version (jtag_usbv3) does not however this version requires that the ftdi_sio module not be loaded to run. You can temporarily unload it, then reload it (ie by hotplugging the jtag dongle) when done if you require it:
sudo rmmod ftdi_sio ;# remove module from running kernel
Operating Instructions
1. Connect the GW11008 JTAG-USB Programmer to the JTAG header on an Avila or Cambria network processor using the attached ribbon cable.
2. Power on the Avila or Cambria network processor.
3. Connect the GW11008 JTAG-USB Programmer to a PC USB port using the supplied USB cable.
4. Copy the Linux directory from the CDROM into a local directory on your x86 Linux machine. The tool prerequisites include the LIBC library.
5. Run the JTAG program with the syntax shown below.
./jtag –p <filename> –u <filename> –v <filename>
| Option | Operation |
| -p | Program Flash device using specified filename |
| -v | Verify Flash device using specified filename |
| -u | Upload Flash device using specified filename |
Examples
Example 1: Program the Flash with avila_16.bin image.
./jtag -p avila_16.bin
Example 2: Program and verify Flash with avila_16.bin image.
./jtag -p avila_16.bin -v avila_16.bin
Serial Console Access
The JTAG connector on all Gateworks Families includes a serial port. To access the serial port execute the following:
./jtag –z <buad rate>
Example 1: Open console at 115200
./jtag -z 115200
You may also use the device with your favorite linux terminal program (minicom, picocom, etc...)
Windows
Installing the Drivers
1. Download and run the file CDM20814_Setup.exe on to your windows machine. A window should open and close on its own:
2. Once that is finished running, download and install winjtagsetup_0_1_5.msi
3. Choose a location to install the Gateworks Win JTAG.
Operating Instructions
1. Connecth the GW1108 JTAG-USB Programmer to the JTAG header on the board using the attached ribbon cable.
2. Power on the board and connect the JTAG-USB Programmer to a Windows PC using the supplied USB cable.
3. Run the Gateworks Win JTAG program.
4. Click on Open next to the Program File field and select the file location of a binary image.
5. If desired, select a verify file or click on "Set Verify to Program File."
6. Click on Go and wait for the programming to be complete.
Attachments
-
winjtag.JPG
(21.5 KB) - added by smarano
6 months ago.
-
winjtag2.JPG
(27.6 KB) - added by smarano
6 months ago.
-
winjtag3.JPG
(28.3 KB) - added by smarano
6 months ago.
-
winjtag4.JPG
(45.5 KB) - added by smarano
6 months ago.
