Changes between Version 50 and Version 51 of jtag_instructions


Ignore:
Timestamp:
05/01/2024 06:25:54 PM (2 weeks ago)
Author:
Ryan Erbstoesser
Comment:

add hot swap notes

Legend:

Unmodified
Added
Removed
Modified
  • jtag_instructions

    v50 v51  
    4343== Connecting the programmer
    4444
    45 The Gateworks JTAG dongle uses a FTDI FT2232C Dual USB-UART/FIFO chip and when enumerated on the USB bus will show as:
     45The Gateworks JTAG dongle uses a FTDI FT2232C Dual USB-UART/FIFO chip and when enumerated on the USB bus on a desktop or laptop will show as:
    4646{{{#!bash
    4747lsusb | grep 0403:6010
     
    4949}}}
    5050
    51 When connected the module {{{ftdi-sio}}} will expose two USB serial devices, this can be verified using {{{dmesg -w}}} or {{{tail -f /var/log/syslog}}} when the programmer is connected to the workstation.
     51When connected the module {{{ftdi-sio}}} will expose two USB serial devices on the desktop/laptop, this can be verified using {{{dmesg -w}}} or {{{tail -f /var/log/syslog}}} when the programmer is connected to the workstation.
    5252{{{#!bash
    5353ls -l /dev/ttyUSB*
     
    115115[=#linux-jtag-flashing]
    116116== Using jtag_usb to read/write Firmware, Program Software
    117 Please see above for the download link to the latest jtag_usb executable. Note that an update may be required for new board models or memory configurations.
     117Please see above for the download link to the latest jtag_usb executable.
     118
     119Note that an update may be required for new board models or memory configurations.
     120
     121'''Important Note''': It is not supported or recommended to 'hot swap' the JTAG ribbon cable or USB device from a desktop/laptop while the Gateworks SBC is powered on. All connections should be made before powering on the Gateworks SBC.
    118122
    1191231. With the SBC powered off, connect the JTAG-USB Programmer to the JTAG header on a Gateworks Single Board Computer (SBC) using the attached ribbon cable.
    120 
    121 1. Connect the JTAG-USB Programmer to a PC USB port using the supplied USB cable.
    122 
    123 1. If using a SBC with a i.MX8M Plus CPU (Venice GW7xxx-2x or GW74xx), attach a USB cable from the USB port on the SBC to the the desktop/laptop host PC.
    124 
    125 1. Verify FTDI module is not loaded.
     1242. Connect the JTAG-USB Programmer to a PC USB port using the supplied USB cable.
     1253. If using a SBC with a i.MX8M Plus CPU (Venice GW7xxx-2x or GW74xx), attach a USB cable from the USB port on the SBC to the the desktop/laptop host PC.
     1264. Verify FTDI module is not loaded.
    126127 * {{{ sudo rmmod ftdi_sio }}}
    127 
    128 1. Apply power to the Gateworks board.
    129 
    130 1. Run the JTAG program (jtag_usbv4) with the syntax shown below to program a .bin file to the boards flash:
     1285. Apply power to the Gateworks board.
     1296. Run the JTAG program (jtag_usbv4) with the syntax shown below to program a .bin file to the boards flash:
    131130{{{
    132131./jtag_usbv4 –p <filename>
     
    179178 *  Flashing a invalid image. There are times when downloading files that the html version was downloaded rather than the file itself.  Check the file extension and file size to be sure you have the correct file.
    180179 *  While programming, if it gets stuck at "Load Debugger: fS3' or fS2, this may mean there are issues with the GSC.  Please re-flash the GSC firmware as demonstrated here: http://trac.gateworks.com/wiki/gsc#GSCUpdates
    181  * Be sure to always use the latest version of {{{jtag_usbv4}}}, failure to do so can result in the inability to flash.
     180 * Be sure to always use the latest version of {{{jtag_usbv4}}}, failure to do so can result in the inability to flash.
     181 * It is not supported or recommended to 'hot swap' the JTAG ribbon cable or USB device from a desktop/laptop while the Gateworks SBC is powered on. All connections should be made before powering on the Gateworks SBC. 
    182182
    183183