Dear all,
I use OpenOCD 0.1.0, precompiled version via download.
If I start openocd I get following error:
C:\openocd -f c:\jtagkey\ebx00.cfg -c “init” -c “reset”
Open On-Chip Debugger 0.1.0 (2009-01-21-21:15) Release
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: https://kc8apf@svn.berlios.de/svnroot/r … -0.1.0/src
/openocd.c $
fast memory access is enabled
dcc downloads are enabled
Info : JTAG tap: ertec.cpu tap/device found: 0x15946021 (Manufacturer: 0x010, Pa
rt: 0x5946, Version: 0x1)
Info : JTAG Tap/device matched
Warn : TAP ertec.cpu:
Warn : value captured during scan didn’t pass the requested check:
Warn : captured: 0x21 check_value: 0x01 check_mask: 0xe3
Warn : in_handler: w/o “in_value”, mismatch in SIR
Warn : TAP ertec.cpu:
Warn : value captured during scan didn’t pass the requested check:
Warn : captured: 0xc1 check_value: 0x01 check_mask: 0xe3
Warn : in_handler: w/o “in_value”, mismatch in SIR
Warn : no tcl port specified, using default port 6666
Info : JTAG tap: ertec.cpu tap/device found: 0x15946021 (Manufacturer: 0x010, Pa
rt: 0x5946, Version: 0x1)
Info : JTAG Tap/device matched
Warn : TAP ertec.cpu:
Warn : value captured during scan didn’t pass the requested check:
Warn : captured: 0x21 check_value: 0x01 check_mask: 0xe3
Warn : in_handler: w/o “in_value”, mismatch in SIR
Warn : TAP ertec.cpu:
Warn : value captured during scan didn’t pass the requested check:
Warn : captured: 0xc1 check_value: 0x01 check_mask: 0xe3
Warn : in_handler: w/o “in_value”, mismatch in SIR
Runtime error, file “embedded:startup.tcl”, line 176:
examine-fails: -4
Runtime error, file “command.c”, line 456:
here my config file :
set ports
telnet_port 4444
gdb_port 3333
#interface/ Dongle configuration
interface ft2232
ft2232_device_desc “Amontec JTAGkey A”
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
jtag_nsrst_delay 200
jtag_ntrst_delay 0
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME ertec
}
if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
set _ENDIAN little
}
if { [info exists CPUTAPID ] } {
set _CPUTAPID $CPUTAPID
} else {
force an error till we get a good number
set _CPUTAPID 0x15946021
}
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask)
jtag newtap $_CHIPNAME cpu -irlen 8 -ircapture 0x1 -irmask 0xe3 -expected-id $_CPUTAPID
#target configuration
set _TARGETNAME [format “%s.cpu” $_CHIPNAME]
target create $_TARGETNAME arm9tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm946e
speed up memory downloads
arm7_9 fast_memory_access enable
arm7_9 dcc_downloads enable
#flash driver
not available
$_TARGETNAME configure -event reset-init {
puts “Running reset init script for EBx00 Board”
Init values
mww 0x70000004 0x40000080 0x01 # Async Wait Cycle Config
mww 0x70000008 0x00000521 # SDRAM Bank Config
mww 0x7000000C 0x00000320 # SDRAM Refresh Control
mww 0x70000010 0x04622311 # Async Bank 0 Config (16 bit flash)
mww 0x70000014 0x04622312 # Async Bank 1 Config (SRAM)
mww 0x70000018 0x04622312 # Async Bank 2 Config (CPLD)
mww 0x7000001C 0x04622312 # Async Bank 3 Config (FPGA)
mww 0x70000020 0x03030000 # Extended Config
#Memory Swap => SDRAM at address 0x0
www 0x40002644 0x00000001 # MEM_SWAP
reset halt
}
Any Idea what could be wrong?
Tom