>>>>> "Tim" == Tim Wescott <[email protected]> writes:
Tim> Russell Senior wrote: >>>>>>> "Tim" == Tim Wescott <[email protected]> writes: >>>>>>> >> Tim> For embedded cross-debugging? Specifically with the Luminary/TI Tim> LM3S811, but anything would be interesting. >> Tim> I just installed it on Ubuntu Karmic and it's not talking to the Tim> JTAG chip (boo hoo). I've started poking around on the internet Tim> looking for inspiration, but I ain't finding it yet. >> Tim> So if there's someone local, who's seen success, I'd like to hear Tim> about it. >> I played a little with Olimex's USB-ARM-OCD device talking to an >> ARM core'd CPU last fall, but I don't remember doing any gdb-ish >> stuff. Not sure if that's remotely helpful. >> Tim> I dunno. OpenOCD isn't seeing the interface chip, even though I Tim> seem to be doing everything right. I'm sure it's the usual Linux Tim> thing where every link in the chain is there but one -- I just Tim> haven't found that link, yet! Does OpenOCD know about the CPU? My openocd.cfg points indirectly at a ks8695p.cfg file that looks something like this: # Target configuration for the Micrel/Kendin KS8695P SoC # Tested on a PePLink WINTI03 board from a SkyPilot SkyExtender # DualBand # Core: ARM922T # Info: if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { set _CHIPNAME ks8695p } if { [info exists ENDIAN] } { set _ENDIAN $ENDIAN } else { # this defaults to a bigendian set _ENDIAN little } if { [info exists CPUTAPID ] } { set _CPUTAPID $CPUTAPID } else { # force an error till we get a good number set _CPUTAPID 0x00922f0f } #jtag scan chain jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id $_CPUTAPID set _TARGETNAME [format "%s.cpu" $_CHIPNAME] target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME I recall that the irlen, ircapture and irmask required a fair amount of guess-and-trying before I hit on the right combination. -- Russell Senior, President [email protected] _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
