From 41d070982cb28dc2c3894e63e546d82f7c8cdfd1 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Mon, 21 Apr 2008 08:52:52 +0000 Subject: [PATCH] - added stm32 stick and luminary eval boards interface configs - corrected target lm3s6965.cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@600 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/Makefile.am | 3 ++- src/target/interface/luminary-lm3s811.cfg | 5 +++++ src/target/interface/luminary.cfg | 5 +++++ src/target/interface/stm32-stick.cfg | 5 +++++ src/target/target/lm3s6965.cfg | 10 ++++------ src/target/target/lm3s811.cfg | 17 +++++++++++++++++ 6 files changed, 38 insertions(+), 7 deletions(-) create mode 100644 src/target/interface/luminary-lm3s811.cfg create mode 100644 src/target/interface/luminary.cfg create mode 100644 src/target/interface/stm32-stick.cfg create mode 100644 src/target/target/lm3s811.cfg diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 34694c0f..732b695d 100644 --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -28,5 +28,6 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin event/at91eb40a_reset.script event/omap5912_reset.script interface/amontec-tiny.cfg interface/str9-comstick.cfg \ target/epc9301.cfg target/ipx42x.cfg target/lpc2129.cfg target/netx500.cfg \ target/omap5912.cfg target/pxa270.cfg target/str750.cfg target/str9comstick.cfg \ - target/str730.cfg target/stm32stick.cfg event/str912_reset.script event/str710_program.script + target/str730.cfg target/stm32stick.cfg event/str912_reset.script event/str710_program.script \ + target/lm3s811.cfg interface/luminary.cfg interface/luminary-lm3s811.cfg interface/stm32-stick.cfg diff --git a/src/target/interface/luminary-lm3s811.cfg b/src/target/interface/luminary-lm3s811.cfg new file mode 100644 index 00000000..3b16c24b --- /dev/null +++ b/src/target/interface/luminary-lm3s811.cfg @@ -0,0 +1,5 @@ +# ftdi interface +interface ft2232 +ft2232_device_desc "LM3S811 Evaluation Board A" +ft2232_layout evb_lm3s811 + diff --git a/src/target/interface/luminary.cfg b/src/target/interface/luminary.cfg new file mode 100644 index 00000000..f5c328c4 --- /dev/null +++ b/src/target/interface/luminary.cfg @@ -0,0 +1,5 @@ +# ftdi interface +interface ft2232 +ft2232_device_desc "Stellaris Evaluation Board A" +ft2232_layout evb_lm3s811 + diff --git a/src/target/interface/stm32-stick.cfg b/src/target/interface/stm32-stick.cfg new file mode 100644 index 00000000..eda62c1a --- /dev/null +++ b/src/target/interface/stm32-stick.cfg @@ -0,0 +1,5 @@ +# ftdi interface +interface ft2232 +ft2232_device_desc "STM32-PerformanceStick A" +ft2232_layout stm32stick + diff --git a/src/target/target/lm3s6965.cfg b/src/target/target/lm3s6965.cfg index 9f6374cd..fe3d9135 100644 --- a/src/target/target/lm3s6965.cfg +++ b/src/target/target/lm3s6965.cfg @@ -1,8 +1,8 @@ -jtag_nsrst_delay 500 -jtag_ntrst_delay 500 +jtag_nsrst_delay 100 +jtag_ntrst_delay 100 -#LM3S811 Evaluation Board has only srst -reset_config trst_and_srst srst_pulls_trst +#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) @@ -14,6 +14,4 @@ target cortex_m3 little run_and_halt 0 working_area 0 0x20000000 0x4000 nobackup #flash configuration -#flash bank stellaris 0 262144 0 0 0 flash bank stellaris 0 0 0 0 0 -#flash write_image main.bin 0 bin diff --git a/src/target/target/lm3s811.cfg b/src/target/target/lm3s811.cfg new file mode 100644 index 00000000..b47c7c93 --- /dev/null +++ b/src/target/target/lm3s811.cfg @@ -0,0 +1,17 @@ +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 + +target cortex_m3 little run_and_halt 0 + +# 4k working area at base of ram +working_area 0 0x20000000 0x4000 nobackup + +#flash configuration +flash bank stellaris 0 0 0 0 0 -- 2.39.5