Openocd configuration for LM3S6965 Stellaris Dev Board

Hi All,

While trying to get this configuration file right myself, I didn’t find many good resources on the new (0.2.0) syntax. For what it’s worth, this configuration file does work with the LM3S6865 evaluation kit I have with openocd-0.2.0 and libftdi on Ubuntu 9.04.


telnet_port 4444

gdb_port 3333

#ft2232_device_desc “Stellaris Evaluation Board”

interface ft2232

ft2232_layout evb_lm3s811

ft2232_vid_pid 0x0403 0xbcd9

jtag_khz 100

jtag_nsrst_delay 100

jtag_ntrst_delay 100

#LM3S6965 Evaluation Board has only srst

reset_config srst_only

jtag newtap StellarisTap cpu -irlen 4 -ircapture 0x1 -irmask 0xf

target create StellarisTarget cortex_m3 -chain-position StellarisTap.cpu -variant lm3s

4k working area at base of ram

StellarisTarget configure -work-area-phys 0x20000000 -work-area-size 0x4000

#flash configuration

flash bank stellaris 0 0 0 0 0

The 0.2 release contains configs for many devices - including luminary in the scripts dir.

Cheers

Spen