- Wed Dec 19, 2007 1:25 am
#39779
Hi,
Because the JTAG sequencry is not the same between ARM926 and 88F5x,
you need a patch to make the open OCD to stop 88F5x or you will not stop the CPU or not resume the CPU
Currently, I have a test version openOCD that works on 88F5x and 88F6x but it is not fully tested yet.
omissam1972 wrote:hi tselei and thanks for the aid,
I have update openocd to the 217,
but I do not succeed to stop the marvell 88f5181, in fact:
root@massimo-desktop:~# telnet 127.0.0.1 4444qhile the log in the openocd:
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Open On-Chip Debugger
> poll
target state: running
> halt
requesting target halt...
> poll
target state: running
> load_image uboot.bin 0xff800000 bin
458884 byte written at address 0xff800000
downloaded 458884 byte in 0s 1978us
>root@massimo-desktop:/opt/openocd/trunk/src# openocd -f openocd.cfgthe file openocd.cfg:
Info: openocd.c:93 main(): Open On-Chip Debugger (2007-09-05 09:00 CEST)
Error: embeddedice.c:181 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000018)
Info: server.c:67 add_connection(): accepted 'telnet' connection from 0
Warning: arm7_9_common.c:1937 arm7_9_write_memory(): target not halted#daemon configurationIt is possible to stop the chip marvell?
telnet_port 4444
gdb_port 3333
#interface
interface parport
parport_port 0x378
parport_cable wiggler
#parport_cable old_amt_wiggler
jtag_speed 1
#use combined on interfaces or targets that can't set TRST/SRST separately
#reset_config trst_and_srst srst_pulls_trst
#reset_config trst_only
#reset_config trst_and_srst combined
reset_config srst_only
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
jtag_nsrst_delay 1200
jtag_ntrst_delay 1200
#target configuration
daemon_startup reset
#target <type> <endianness> <startup mode> <chainpos> <variant>
target arm926ejs little run_and_halt 0 arm926ejs
run_and_halt_time 0 500
# planing with flash code - work in progress
working_area 0 0x00400000 0x40000 nobackup
# driver addr size chip_width bus_width options
flash bank cfi 0xff800000 0x400000 1 2 0
tanks
Hi,
Because the JTAG sequencry is not the same between ARM926 and 88F5x,
you need a patch to make the open OCD to stop 88F5x or you will not stop the CPU or not resume the CPU
Currently, I have a test version openOCD that works on 88F5x and 88F6x but it is not fully tested yet.