JLink is IAR J-Link-ARM version 6.0. At first when I run OpenOCD in terminal it gave erro messgae like:
Open On-Chip Debugger 0.2.0-in-development (2009-06-10-15:31) svn:2182
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: http://svn.berlios.de/svnroot/repos/ope … /openocd.c $
12 kHz
jtag_nsrst_delay: 100
jtag_ntrst_delay: 100
Error: J-Link command 0x01 failed (-1)
Error: J-Link command EMU_CMD_VERSION failed (-1)
Error: J-Link command 0x01 failed (-1)
Error: J-Link command EMU_CMD_VERSION failed (-1)
Error: J-Link command 0x01 failed (-1)
Error: J-Link command EMU_CMD_VERSION failed (-1)
Info : J-Link initial read failed, don’t worry
Info : J-Link JTAG Interface ready
Error: J-Link command 0xdd failed (-1)
Error: J-Link command 0xdf failed (-1)
Error: J-Link setting speed failed (-1)
Error: usb_bulk_write failed (requested=6, result=-1)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: usb_bulk_write failed (requested=6, result=-1)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: J-Link command 0xdd failed (-1)
Error: J-Link command 0xde failed (-1)
Error: J-Link command 0xdc failed (-1)
Error: J-Link command 0xde failed (-1)
Error: J-Link command 0xdc failed (-1)
Error: J-Link command 0xdf failed (-1)
Error: usb_bulk_write failed (requested=6, result=-1)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: J-Link command 0xdd failed (-1)
Error: J-Link command 0xdf failed (-1)
Error: usb_bulk_write failed (requested=6, result=-1)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: usb_bulk_write failed (requested=6, result=-1)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: couldn’t bind to socket: Address already in use
and I use J-link commander to get the info about the jlink. What i got is :
SEGGER J-Link Commander V4.03a (‘?’ for help)
Compiled Feb 2 2009 11:34:21
Updating firmware: J-Link ARM V6 compiled Jan 15 2009 11:58:34
Replacing firmware: J-Link ARM V6 compiled Jul 30 2008 11:24:59
Waiting for new firmware to boot
New firmware booted successfully
****** Error: Communication timed out after firmware update
DLL version V4.03a, compiled Feb 2 2009 11:34:13
Unable to retrieve firmware info !
S/N : 156003954
OEM : IAR
VTarget = 3.287V
Info: TotalIRLen = 9, IRPrint = 0x0011
WARNING: Identified core does not match configuration. (Found: Cortex-M3, Configured: None)
Info: Found Cortex-M3 r1p1, Little endian.
Info: TPIU fitted.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Found 2 JTAG devices, Total IRLen = 9:
Id of device #0: 0x3BA00477
Id of device #1: 0x16410041
Cortex-M3 identified.
JTAG speed: 5 kHz
J-Link>f
Unable to retrieve firmware info !
J-Link>usb
Connecting to J-Link via USB (Port: 0)
Updating firmware: J-Link ARM V6 compiled Jan 15 2009 11:58:34
Replacing firmware: J-Link ARM V6 compiled Jul 30 2008 11:24:59
Waiting for new firmware to boot
New firmware booted successfully
****** Error: Communication timed out after firmware update
DLL version V4.03a, compiled Feb 2 2009 11:34:13
Unable to retrieve firmware info !
S/N : 156003954
OEM : IAR
VTarget = 3.287V
Info: TotalIRLen = 9, IRPrint = 0x0011
Info: Found Cortex-M3 r1p1, Little endian.
Info: TPIU fitted.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Found 2 JTAG devices, Total IRLen = 9:
Id of device #0: 0x3BA00477
Id of device #1: 0x16410041
Cortex-M3 identified.
JTAG speed: 5 kHz
J-Link>
The board is STM32F10X_128k_Eval.
I m totally new to OpenOCD and Jlink. Looking for help. Thanks very much.