On Sun, Jul 5, 2009 at 10:29 AM, Xiaofan Chen<[email protected]> wrote:
> It does not help me for the V3 and V7 I tried. Strangely the Linux distros
> play a part as well. It seems to be more stable under Ubuntu 9.04 than
> Arch Linux.
>

For example, I've no problems with the STM3210E-Eavl board under
Ubuntu 9.04. But it does not seem to work under Arch Linux (with
J-Link V3 and V7).

[mc...@myhost jlinkv7]$ openocd -f stm3210e.cfg
Open On-Chip Debugger 0.2.0-in-development (2009-07-04-17:26) svn:2462M
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
1000 kHz
jtag_nsrst_delay: 100
jtag_ntrst_delay: 100
Error: J-Link command 0x02 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)

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)
^C

[mc...@myhost jlinkv7]$ cat stm3210e.cfg
# This is an STM32 eval board with a single STM32F103ZET6 chip on it.

source [find target/stm32.cfg]
source [find interface/jlink.cfg]

#----------- Daemon Configuration

telnet_port     4444
gdb_port        3333
tcl_port        6666


# Tell gdb that you can use us to program the device (requires GDB
>=6.7 and libexapt)
gdb_memory_map    enable
gdb_flash_program enable


-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to