Hi,

in the meantime I rebuilt OpenOCD to see if anything changed for
the better. Unfortunately not, though the before mentioned bug
seems to be gone.

The configuration file is the same as before, the -expected-id
is now the one that it should be.

However now, I can't flash the device at all anymore. This is
the log, maybe you can spot some indicators of whats going wrong
here:

C:\Programme\OpenOCD\0.2.0>openocd -d2 -f usbprog.cfg
Open On-Chip Debugger 0.2.0-in-development (2009-07-02-15:45)
svn:2458
$URL:
http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c
$
For bug reports, read
http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
debug_level: 2
jtag_speed: 10
jtag_nsrst_delay: 100
jtag_ntrst_delay: 100
Error: Translation from khz to jtag_speed not implemented
Info : USB JTAG Interface ready!
Info : JTAG tap: lm3s6950.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0x
ba00, ver: 0x3)
Info : JTAG Tap/device matched
Warn : Unexpected idcode after end of chain: 480 0x800000ff
Warn : Unexpected idcode after end of chain: 512 0x0000007f
Warn : Unexpected idcode after end of chain: 544 0x000000ff
Warn : Unexpected idcode after end of chain: 576 0x000000ff
Warn : Unexpected idcode after end of chain: 608 0x000000ff
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Block read error address 0xe000ed00, count 0x1
Warn : Invalid ACK in SWJDP transaction
Info : JTAG tap: lm3s6950.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0x
ba00, ver: 0x3)
Info : JTAG Tap/device matched
Warn : Unexpected idcode after end of chain: 480 0x800000ff
Warn : Unexpected idcode after end of chain: 512 0x0000007f
Warn : Unexpected idcode after end of chain: 544 0x000000ff
Warn : Unexpected idcode after end of chain: 576 0x000000ff
Warn : Unexpected idcode after end of chain: 608 0x000000ff
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Block read error address 0x400fe000, count 0x1
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Info : JTAG tap: lm3s6950.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0x
ba00, ver: 0x3)
Info : JTAG Tap/device matched
Warn : Unexpected idcode after end of chain: 480 0x800000ff
Warn : Unexpected idcode after end of chain: 512 0x0000007f
Warn : Unexpected idcode after end of chain: 544 0x000000ff
Warn : Unexpected idcode after end of chain: 576 0x000000ff
Warn : Unexpected idcode after end of chain: 608 0x000000ff
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Invalid ACK in SWJDP transaction
Warn : Block read error address 0x400fe000, count 0x1
Error: can't request a halt while in reset if nSRST pulls nTRST
Warn : Invalid ACK in SWJDP transaction
Runtime error, file "embedded:startup.tcl", line 226:
    expected return code but got 'TARGET: lm3s6950.cpu - Not
    halted'
Runtime error, file "usbprog.cfg", line 29:


I removed "srst_pulls_trst" in the meantime from the
configuration file, but this does not change the behaviour at
all.

All the best,
/Markus

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to