Download Open On-Chip Debugger: OpenOCD User`s Guide
Transcript
Chapter 8: Debug Adapter Configuration 42 interface remote_bitbang remote_bitbang_port 0 remote_bitbang_host mysocket [Interface Driver] USB JTAG/USB-Blaster compatibles over one of the userspace libraries for FTDI chips. These interfaces have several commands, used to configure the driver before initializing the JTAG scan chain: usb_blaster usb_blaster_device_desc description [Config Command] Provides the USB device description (the iProduct string) of the FTDI FT245 device. If not specified, the FTDI default value is used. This setting is only valid if compiled with FTD2XX support. usb_blaster_vid_pid vid pid [Config Command] The vendor ID and product ID of the FTDI FT245 device. If not specified, default values are used. Currently, only one vid, pid pair may be given, e.g. for Altera USB-Blaster (default): usb_blaster_vid_pid 0x09FB 0x6001 The following VID/PID is for Kolja Waschk’s USB JTAG: usb_blaster_vid_pid 0x16C0 0x06AD usb_blaster_pin (pin6|pin8) (0|1|s|t) [Command] Sets the state or function of the unused GPIO pins on USB-Blasters (pins 6 and 8 on the female JTAG header). These pins can be used as SRST and/or TRST provided the appropriate connections are made on the target board. For example, to use pin 6 as SRST: usb_blaster_pin pin6 s reset_config srst_only usb_blaster_lowlevel_driver (ftdi|ftd2xx|ublast2) [Command] Chooses the low level access method for the adapter. If not specified, ftdi is selected unless it wasn’t enabled during the configure stage. USB-Blaster II needs ublast2. [Command] This command specifies path to access USB-Blaster II firmware image. To be used with USB-Blaster II only. usb_blaster_firmware path [Interface Driver] Gateworks GW16012 JTAG programmer. This has one driver-specific command: gw16012 parport_port [port number] [Config Command] Display either the address of the I/O port (default: 0x378 for LPT1) or the number of the /dev/parport device. If a parameter is provided, first switch to use that port. This is a write-once setting.