# script for luminary lm3s6965

# jtag speed
jtag_khz 500

jtag_nsrst_delay 100
jtag_ntrst_delay 100

#LM3S6965 Evaluation Board has only srst
reset_config srst_only

#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe

# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
target cortex_m3 little 0 lm3s

# 4k working area at base of ram
working_area 0 0x20000000 0x4000 nobackup

#flash configuration
flash bank stellaris 0 0 0 0 0
