What revision is your board? The title is a bit out of sync with the issue, as in June it appears TI multiplexed SWO and JTAG. My board rev is LMWLV-C.
On Fri, Dec 18, 2009 at 3:13 AM, Yegor Yefremov <yegorsli...@googlemail.com>wrote: > On Thu, Dec 17, 2009 at 7:52 PM, Charles Vaughn <cvau...@gmail.com> wrote: > > I've recently purchased an LM3S811 evaluation board. I've tried to > connect > > to it with OpenOCD, but I've met very little success even initiating a > > connection. > > > > When I use the version of OpenOCD available from Ubuntu repositories > > (r2403), I get the following error: > > > > m...@mint /usr/share/openocd/scripts $ sudo openocd -f > > interface/luminary.cfg -f target/lm3s811.cfg > > Open On-Chip Debugger 0.2.0-in-development (2009-06-30-01:11) svn:r2403 > > > > > > BUGS? Read /usr/share/doc/openocd/BUGS > > > > > > $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $ > > 500 kHz > > jtag_nsrst_delay: 100 > > jtag_ntrst_delay: 100 > > Error: JTAG communication failure: check connection, JTAG interface, > target > > power etc. > > Error: trying to validate configured JTAG chain anyway... > > Error: Could not validate JTAG scan chain, IR mismatch, scan returned > 0x3F. > > tap=lm3s811.cpu pos=0 expected 0x1 got 3 > > Warn : Could not validate JTAG chain, continuing anyway... > > 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 > > > > When I use version 0.3.1 or check out the latest with GIT, I get this > error > > message: > > > > Error: 409 14198 core.c:905 jtag_examine_chain_check(): JTAG scan chain > > interrogation failed: all ones > > > > I've tried the following scripts: > > > > board/ek-lm3s811.cfg > > interface/luminary.cfg & target/lm3s811.cfg > > interface/luminary.cfg & target/stellaris.cfg > > > > The only difference is when using the board/ek-lm3s811.cfg the board does > > visibly reset. > > > > I've changed the jtag_khz to 100 and 1, nrst delay to 10000, all with no > > change in result. > > > > My best guess is that there is some difference in the C2 revision of the > > chips that's causing this, though reviewing the datasheet, I see no > > difference other than device ID. > > > > This is a christmas present for a friend, so I'd appreciate any help... > > I've just pulled the latest changes from OpenOCD git repo and tried to > connect to my LM3S811 board with openocd.cfg containing: > > source [ find interface/luminary.cfg ] > source [ find target/stellaris.cfg ] > > This is output from "flash info 0": > > TI/LMI Stellaris information: Chip is class 0 (Sandstorm) LM3S811 rev C2 > did1: 0x0032002d, arch: 0x32002d, eproc: ARMv7M, ramsize: 8k, flashsize: > 64k > master clock: 6000kHz, rcc is 0x0, rcc2 is 0x0 > pagesize: 1024, pages: 64, lockbits: 32, pages per lockbit: 2 > > Regards, > Yegor >
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development