hello,
I have damaged the bootloader of mine wnr854t, with chip marvell feroceon 88f5181.
Now, i am using wiggler cable (buffered) a + openocd for re-flashing, the problem is that continuous to receive errors.
Where mistake?
thanks
file —> openocd.cfg
#daemon configuration
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
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
script —> command
root@massimo-desktop:/opt/openocd/trunk/src# telnet localhost 4444
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
Open On-Chip Debugger
halt
requesting target halt…
flash write_binary 0 uboot.bin 0x0
failed writing file uboot.bin to flash bank 0 at offset 0x00000000
can’t work with this flash while target is running
wrote 458884 byte from file uboot.bin to flash bank 0 at offset 0x00000000 in 0s 1956us (229104.757797 kb/s)
file —> log.txt ( openocd -d3 -l log.txt -f openocd.cfg )
Debug: arm926ejs.c:703 arm926ejs_target_command(): chain_pos: 0, variant: arm926ejs
Debug: jtag.c:1407 jtag_init(): -
Debug: parport.c:400 parport_init(): requesting privileges for parallel port 0x378…
Debug: parport.c:410 parport_init(): …privileges granted
Debug: parport.c:234 parport_reset(): trst: 0, srst: 0
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: jtag.c:1291 jtag_examine_chain(): JTAG device found: 0x07926041 (Manufacturer: 0x020, Part: 0x7926, Version: 0x0
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: openocd.c:113 main(): jtag init complete
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST released
Debug: jtag.c:1197 jtag_reset_callback(): -
Error: embeddedice.c:181 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000018)
Debug: arm7_9_common.c:707 arm7_9_assert_reset(): target->state: unknown
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: SRST asserted
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: SRST asserted
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: parport.c:234 parport_reset(): trst: 0, srst: 1
Debug: parport.c:234 parport_reset(): trst: 0, srst: 1
Debug: arm7_9_common.c:773 arm7_9_deassert_reset(): target->state: reset
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: SRST released
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: parport.c:234 parport_reset(): trst: 0, srst: 0
Debug: openocd.c:117 main(): target init complete
Debug: openocd.c:121 main(): flash init complete
Debug: openocd.c:125 main(): NAND init complete
Debug: openocd.c:129 main(): pld init complete
Debug: gdb_server.c:1526 gdb_init(): gdb service for target arm926ejs at port 3333
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 1
Debug: jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST released
Debug: jtag.c:1197 jtag_reset_callback(): -
Debug: arm7_9_common.c:929 arm7_9_halt(): target->state: running
Debug: embeddedice.c:384 embeddedice_write_reg(): 0: 0x00000002
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4
Debug: embeddedice.c:220 embeddedice_read_reg_w_check(): 4