OpenOCD w/ lm3s102
Hi All,
I got my ARM-USB-TINY from Sparkfun today and am trying to configure OpenOCD to talk to my LM3S102. Does anyone have a working configuration that they wouldn't mind sharing?
Also, the JTAG connector has a VREF, and VTARGET. Should I connect both of those to the 3.3 supply?
Thanks,
Sam
p.s... I am trying to use a hacked lm3s811 OpenOCD configuration file:
| Code: |
# Script for luminary lm3s811
interface ft2232
ft2232_device_desc "Olimex Ltd. OpenOCD JTAG TINY"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15BA 0x0004
# jtag speed
jtag_khz 500
jtag_nsrst_delay 100
jtag_ntrst_delay 100
#LM3S811 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
# 8k working area at base of ram
working_area 0 0x20000000 0x2000 nobackup
#flash configuration
flash bank stellaris 0 0 0 0 0
|
login or register to reply
|