Changes between Version 50 and Version 51 of jtag_instructions
- Timestamp:
- 05/01/2024 06:25:54 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jtag_instructions
v50 v51 43 43 == Connecting the programmer 44 44 45 The Gateworks JTAG dongle uses a FTDI FT2232C Dual USB-UART/FIFO chip and when enumerated on the USB bus will show as:45 The 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: 46 46 {{{#!bash 47 47 lsusb | grep 0403:6010 … … 49 49 }}} 50 50 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.51 When 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. 52 52 {{{#!bash 53 53 ls -l /dev/ttyUSB* … … 115 115 [=#linux-jtag-flashing] 116 116 == 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. 117 Please see above for the download link to the latest jtag_usb executable. 118 119 Note 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. 118 122 119 123 1. 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. 124 2. Connect the JTAG-USB Programmer to a PC USB port using the supplied USB cable. 125 3. 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. 126 4. Verify FTDI module is not loaded. 126 127 * {{{ 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: 128 5. Apply power to the Gateworks board. 129 6. Run the JTAG program (jtag_usbv4) with the syntax shown below to program a .bin file to the boards flash: 131 130 {{{ 132 131 ./jtag_usbv4 –p <filename> … … 179 178 * 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. 180 179 * 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. 182 182 183 183