Hello,
I am using olimex arm-usb-ocd jtag inreface and openocd version 1.0 on
windows 7 x64. All drivers was loaded properly to my PC. And i am using
uni-ds3 board (mikroelektronika- LPC2148 (12MHz) cpu).Config files that
i am using like below.When running openocd by using eclipse i am getting
errors following;
-------------------------openocd console------------------
Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported
$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 3, 3
Info: options.c:50 configuration_output_handler(): Open On-Chip
Debugger 1.0 (2008-10-04-10:00) svn:exported
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x4f1f0f0f
(Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0xffffffff
(Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x007fffff
(Manufacturer: 0x7ff, Part: 0x07ff, Version: 0x0)
Error: jtag.c:1399 jtag_examine_chain(): number of discovered devices
in JTAG chain (547) doesn't match configuration (1)
Error: jtag.c:1400 jtag_examine_chain(): check the config file and
ensure proper JTAG communication (connections, speed, ...)
Error: jtag.c:1556 jtag_init_inner(): trying to validate configured
JTAG chain anyway...
sysstem is halting here! and LED on the olimex Jtag interface is
flashing
---------------------------------------------------------
---------------------config file--------------------------
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG A"
ft2232_layout "olimex-jtag"
ft2232_vid_pid 0x15BA 0x0004
jtag_speed 3
jtag_nsrst_delay 200
jtag_ntrst_delay 200
#use combined on interfaces or targets that can't set TRST/SRST
separately
#reset_config trst_and_srst separate
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
#format L IRC IRCM IDC (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#target configuration
daemon_startup reset
#target <type> <startup mode>
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
#target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4
#target arm7tdmi little run_and_halt 0
target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
run_and_halt_time 0 30
# flash-options LPC2138
#target_script 0 reset C:\arm\yagarto\openocd_lpc2138_flash.script
working_area 0 0x40000000 0x40000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v2 12000 calc_checksum
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
--------------------------------------------------------------------
------------------------------script file-----------------------
#
# The following command wills be executed on
# reset (because of run_and_init in the config-file)
# - wait for target halt
# - erase memory
# - flash content of file main.bin into target-memory
# - shutdown openocd
#
# created by Martin Thomas
# http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects
# based on information from Dominic Rath
#
arm7_9 dcc_downloads enable
wait_halt
sleep 10
poll
flash probe 0
flash erase 0 0 0
flash write 0 main.hex 0x0
reset run
sleep 10
shutdown
what does that mean?
Regards
kamil