On Mon, 2009-07-06 at 21:23 +0200, Øyvind Harboe wrote: > On Mon, Jul 6, 2009 at 8:52 PM, Thomas A. Moulton<t...@moulton.us> wrote: > > On Mon, 2009-07-06 at 20:27 +0200, Øyvind Harboe wrote: > >> Can you reproduce with: > >> > >> - dummy driver? (--enable-dummy + -f interface/dummy.cfg) > >> - "help fill" => flash fill > >> > > > > I built with > > > > ./configure --enable-maintainer-mode --enable-parport > > --enable-ft2232_libftdi --enable-jlink --enable-dummy > > > > ran as > > > > sudo openocd -f /usr/local/share/openocd/scripts/interface/dummy.cfg > > you need to add your target configuration file as well > > sudo openocd -f /usr/local/share/openocd/scripts/interface/dummy.cfg > -f /usr/local/share/openocd/scripts/target/adu.....cfg
t...@w2vy:~$ sudo openocd -f /usr/local/share/openocd/scripts/interface/dummy.cfg -f /usr/local/share/openocd/scripts/target/aduc702x.cfg Open On-Chip Debugger 0.2.0-in-development (2009-07-06-14:45) svn:2482M $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS jtag_nsrst_delay: 200 jtag_ntrst_delay: 200 Warn : Tap/Device does not have IDCODE Error: JTAG tap: aduc702x.cpu got: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0) Error: JTAG tap: aduc702x.cpu expected 1 of 1: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3) Error: trying to validate configured JTAG chain anyway... Error: Could not validate JTAG scan chain, IR mismatch, scan returned 0x3F. tap=aduc702x.cpu pos=0 expected 0x1 got 3 Warn : Could not validate JTAG chain, continuing anyway... Error: unknown EmbeddedICE version (comms ctrl: 0xffffffff) target state: halted target halted in Thumb state due to watchpoint, current mode: System cpsr: 0xffffffff pc: 0xffffffef Info : accepting 'telnet' connection from 0 Warn : target reentered debug state, but not at the desired exit point: 0xffffffef Error: error executing aduc702x flash write algorithm Error: flash block writing failed ---- t...@w2vy:~$ telnet 127.0.0.1 4444 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. Open On-Chip Debugger > flash fillw 0x80000 0x1234 4 target reentered debug state, but not at the desired exit point: 0xffffffef error executing aduc702x flash write algorithm flash block writing failed error writing to flash at address 0x00080000 at offset 0x00000000 (-902) called at file "command.c", line 469 called at file "embedded:startup.tcl", line 89 called at file "embedded:startup.tcl", line 91 called at file "embedded:startup.tcl", line 93 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development