Try it slower. Try 25kHz to start and see how that goes.

Oleg Kravchenko <o...@kaa.org.ua> wrote:


Hello!

I am assemble this cable
http://downloads.amilda.org/MODs/JTAG/wiggler.gifand I want try
openocd with my pocket pc based on pxa270 cpu, but I can't
setup proper config file and as result I am received lots of errors :(
Help please!

# cat openocd.cfg
interface parport
parport_port 0
parport_cable wiggler2
jtag_khz 100

if { [info exists CHIPNAME] } {
   set  _CHIPNAME $CHIPNAME
} else {
   set  _CHIPNAME pxa270
}

if { [info exists ENDIAN] } {
   set  _ENDIAN $ENDIAN
} else {
   set  _ENDIAN little
}

if { [info exists CPUTAPID ] } {
   set _CPUTAPID $CPUTAPID
} else {
   set _CPUTAPID 0x79265013
}

jtag_nsrst_delay 260
jtag_ntrst_delay 0

reset_config trst_and_srst separate

set _TARGETNAME $_CHIPNAME.cpu
jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id
$_CPUTAPID

target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position
$_TARGETNAME -variant pxa27x

# maps to PXA internal RAM. If you are using a PXA255
# you must initialize SDRAM or leave this option off
#_TARGETNAME configure -work-area-phys 0x5c000000 -work-area-size 0x10000
-work-area-backup 0

# openocd
Open On-Chip Debugger 0.4.0 (2010-10-12-21:17)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0x0
100 kHz
jtag_nsrst_delay: 260
jtag_ntrst_delay: 0
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : pxa270.cpu: hardware has 2 breakpoints and 2 watchpoints
Info : clock speed 100 kHz
Info : JTAG tap: pxa270.cpu tap/device found: 0x79265013 (mfg: 0x009, part:
0x9265, ver: 0x7)
Info : accepting 'gdb' connection from 0
Warn : acknowledgment received, but no packet pending
undefined debug reason 6 - target needs reset
Warn : target not halted
Warn : target not halted
Warn : target not halted
Warn : target not halted
Warn : target not halted
Warn : target not halted
Warn : target not halted
Warn : target not halted
Warn : target not halted
Info : JTAG tap: pxa270.cpu tap/device found: 0x79265013 (mfg: 0x009, part:
0x9265, ver: 0x7)
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x880000d3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
(processor reset)
Warn : Bad value '01' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x06
Error: JTAG error while reading TX
error while polling TX register, reset CPU
Error: time out writing RX register
Error: time out writing RX register
Error: time out writing RX register
Warn : Bad value '01' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x06
Error: JTAG error while writing RX
Error: time out writing RX register
Error: time out writing RX register
Error: time out writing RX register
Error: time out writing RX register
Error: time out writing RX register
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to