diff options
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/Makefile.am | 5 | ||||
-rw-r--r-- | src/target/interface/calao-usb-a9260-c01.cfg | 11 | ||||
-rw-r--r-- | src/target/interface/calao-usb-a9260-c02.cfg | 11 | ||||
-rw-r--r-- | src/target/interface/calao-usb-a9260.cfg | 15 | ||||
-rw-r--r-- | src/target/target/at91sam9260minimal.cfg | 20 |
5 files changed, 60 insertions, 2 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 732b695d..18fefbe2 100644 --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -29,5 +29,6 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin event/at91eb40a_reset.script 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/lm3s811.cfg interface/luminary.cfg interface/luminary-lm3s811.cfg interface/stm32-stick.cfg - + target/lm3s811.cfg interface/luminary.cfg interface/luminary-lm3s811.cfg interface/stm32-stick.cfg \ + interface/calao-usb-a9260-c01.cfg interface/calao-usb-a9260-c02.cfg \ + interface/calao-usb-a9260.cfg target/at91sam9260minimal.cfg diff --git a/src/target/interface/calao-usb-a9260-c01.cfg b/src/target/interface/calao-usb-a9260-c01.cfg new file mode 100644 index 00000000..e3642793 --- /dev/null +++ b/src/target/interface/calao-usb-a9260-c01.cfg @@ -0,0 +1,11 @@ +#
+# Calao Systems USB-A9260-C01
+#
+# http://www.calao-systems.com/
+#
+interface ft2232
+ft2232_layout jtagkey
+ft2232_device_desc "USB-A9260"
+ft2232_vid_pid 0x0403 0x6010
+script interface/calao-usb-a9260.cfg
+script target/at91sam9260minimal.cfg
diff --git a/src/target/interface/calao-usb-a9260-c02.cfg b/src/target/interface/calao-usb-a9260-c02.cfg new file mode 100644 index 00000000..c53c0975 --- /dev/null +++ b/src/target/interface/calao-usb-a9260-c02.cfg @@ -0,0 +1,11 @@ +#
+# Calao Systems USB-A9260-C02
+#
+# http://www.calao-systems.com/
+#
+interface ft2232
+ft2232_layout jtagkey
+ft2232_device_desc "USB-A9260 A"
+ft2232_vid_pid 0x0403 0x6001
+script interface/calao-usb-a9260.cfg
+script target/at91sam9260minimal.cfg
diff --git a/src/target/interface/calao-usb-a9260.cfg b/src/target/interface/calao-usb-a9260.cfg new file mode 100644 index 00000000..69ddd792 --- /dev/null +++ b/src/target/interface/calao-usb-a9260.cfg @@ -0,0 +1,15 @@ +#
+# Calao Systems USB-A9260 common -C01 -C02 setup
+#
+# http://www.calao-systems.com/
+#
+# See calao-usb-a9260-c01.cfg and calao-usb-a9260-c02.cfg
+#
+# note: you must have an openocd version where jtag_speed sets two values
+# trunk ver 606 contains the fix for this particular issue which can
+# be seen if jtag_speed does not set two separate values
+#
+jtag_speed 1200 0
+jtag_nsrst_delay 200
+jtag_ntrst_delay 200
+
diff --git a/src/target/target/at91sam9260minimal.cfg b/src/target/target/at91sam9260minimal.cfg new file mode 100644 index 00000000..662ec23c --- /dev/null +++ b/src/target/target/at91sam9260minimal.cfg @@ -0,0 +1,20 @@ +######################################
+# Target: Atmel AT91SAM9260
+######################################
+
+reset_config trst_and_srst
+
+#jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction>
+jtag_device 4 0x1 0xf 0xe
+
+jtag_nsrst_delay 200
+jtag_ntrst_delay 200
+
+######################
+# Target configuration
+######################
+
+#target <type> <endianess> <reset mode> <JTAG pos> <variant>
+target arm926ejs little reset_run 0 arm926ejs
+run_and_halt_time 0 30
+
|