Driver unfortunately still does not work on USB Blaster clones. Clones sold today (many sellers on eBay) are based on chips Cypress CY7C68013A or Silabs 8051F321 (see the http://ixo-jtag.sourceforge.net/archive/ixo_de_usb_jtag.html).
In emulation of the original Altera USB Blaster is about small differences. The primary is not working properly reading of Latency Timer. Function FT_GetLatencyTimer(ftdih, & latency_timer) ends each error (see the http://comments.gmane.org/gmane.comp.debugging.openocd.devel/17438). On MS Windows+ftd2xx it freezes, on Linux+libftdi it fails. After elimination of reading of the Latency Timer OpenOCD gets going, but it does not work. After the first run on Linux+libftdi finish as follows: Open On-Chip Debugger 0.6.0-dev-00478-g753260c-dirty (2012-04-07-20:20) Licensed under the GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Warn: Adapter Driver 'usb_blaster' did not declare Which Allows it transports; Assuming legacy JTAG-only Info: Only one transportation option; Autoselect 'JTAG' 1000 kHz adapter_nsrst_delay: 100 jtag_ntrst_delay: 100 cortex_m3 reset_config sysresetreq Info: No Configured lowlevel driver, Will try Them All Info: usb blaster interface using libftdi Error: Translation from khz's jtag_speed Not Implemented Error: Translation from khz's jtag_speed Not Implemented Error: Translation from khz's jtag_speed Not Implemented Info: adapter-specific clock speed value 0 Info: JTAG tap: stm32f4x.cpu tap / device found: 0x00006031 (mfg: 0x018, Part: 0x0006, ver: 0x0) Warn: JTAG tap: Unexpected stm32f4x.cpu: 0x00006031 (mfg: 0x018, Part: 0x0006, ver: 0x0) Error: JTAG tap: Expected stm32f4x.cpu 1 of 1: 0x4ba00477 (mfg: 0x23b, Part: 0xba00, ver: 0x4) Info: TAP stm32f4x.bs does not have IDCODE Warn: JTAG tap: Unexpected stm32f4x.bs: 0x00000000 (mfg: 0x000, Part: 0x0000, ver: 0x0) Error: JTAG tap: Expected stm32f4x.bs 1 of 1: 0x06413041 (mfg: 0x020, Part: 0x6413, ver: 0x0) Warn: Unexpected idcode after end of chain: 33 0x00000000 Warn: Unexpected idcode after end of chain: 65 0x00000000 Warn: Unexpected idcode after end of chain: 97 0x00000000 Warn: Unexpected idcode after end of chain: 129 0x00000000 Warn: Unexpected idcode after end of chain: 161 0x00000000 Warn: Unexpected idcode after end of chain: 193 0x00000000 Warn: Unexpected idcode after end of chain: 225 0x00000000 Warn: Unexpected idcode after end of chain: 257 0x00000000 Warn: Unexpected idcode after end of chain: 289 0x00000000 Warn: Unexpected idcode after end of chain: 321 0x00000000 Warn: Unexpected idcode after end of chain: 353 0x00000000 Warn: Unexpected idcode after end of chain: 385 0x00000000 Warn: Unexpected idcode after end of chain: 417 0x00000000 Warn: Unexpected idcode after end of chain: 449 0x00000000 Warn: Unexpected idcode after end of chain: 481 0x00000000 Warn: Unexpected idcode after end of chain: 513 0x00000000 Warn: Unexpected idcode after end of chain: 545 0x00000000 Warn: Unexpected idcode after end of chain: 577 0x00000000 Error: double-check your JTAG setup (interface, speed, missing TAPS, ...) Error: Trying to use Configured scan chain anyway ... Error: stm32f4x.cpu: IR capture error; saw 0x00 0x01 notes Warn: Bypassing JTAG setup events due to errors and freeze it. After finishing the OpenOCD and start it over it it always fails, but not freezes: Open On-Chip Debugger 0.6.0-dev-00478-g753260c-dirty (2012-04-07-20:20) Licensed under the GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Warn: Adapter Driver 'usb_blaster' did not declare Which Allows it transports; Assuming legacy JTAG-only Info: Only one transportation option; Autoselect 'JTAG' 1000 kHz adapter_nsrst_delay: 100 jtag_ntrst_delay: 100 cortex_m3 reset_config sysresetreq Info: No Configured lowlevel driver, Will try Them All Info: usb blaster interface using libftdi Error: Translation from khz's jtag_speed Not Implemented Error: Translation from khz's jtag_speed Not Implemented Error: Translation from khz's jtag_speed Not Implemented Info: adapter-specific clock speed value 0 Error: JTAG scan chain failed interrogation: all Zeroes Error: Check JTAG interface timings, target power, etc.. Error: Trying to use Configured scan chain anyway ... Error: stm32f4x.cpu: IR capture error; saw 0x00 0x01 notes Warn: Bypassing JTAG setup events due to errors Warn: Invalid ACK 0 in JTAG-DP transaction Polling failed target, GDB Will Be halted. Polling again in 100ms Polling failed target, GDB Will Be halted. Polling again in 300ms Error: JTAG scan chain failed interrogation: all Zeroes Error: Check JTAG interface timings, target power, etc.. Error: Trying to use Configured scan chain anyway ... Error: stm32f4x.cpu: IR capture error; saw 0x00 0x01 notes Warn: Bypassing JTAG setup events due to errors Warn: Invalid ACK 0 in JTAG-DP transaction Nice day Peter ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel