]> git.sur5r.net Git - openocd/commitdiff
Tim Hudson contributed at91sam9260 target config files + some interface definitions.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 23 Apr 2008 09:53:23 +0000 (09:53 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 23 Apr 2008 09:53:23 +0000 (09:53 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@609 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/Makefile.am
src/target/interface/calao-usb-a9260-c01.cfg [new file with mode: 0644]
src/target/interface/calao-usb-a9260-c02.cfg [new file with mode: 0644]
src/target/interface/calao-usb-a9260.cfg [new file with mode: 0644]
src/target/target/at91sam9260minimal.cfg [new file with mode: 0644]

index 732b695d3e88aabc3a70e943681f45b3a2393e94..18fefbe299c5ca981e2a820b48eb19baef30a1ce 100644 (file)
@@ -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 (file)
index 0000000..e364279
--- /dev/null
@@ -0,0 +1,11 @@
+#\r
+# Calao Systems USB-A9260-C01\r
+#\r
+# http://www.calao-systems.com/\r
+#\r
+interface ft2232\r
+ft2232_layout jtagkey\r
+ft2232_device_desc "USB-A9260"\r
+ft2232_vid_pid 0x0403 0x6010\r
+script interface/calao-usb-a9260.cfg\r
+script target/at91sam9260minimal.cfg\r
diff --git a/src/target/interface/calao-usb-a9260-c02.cfg b/src/target/interface/calao-usb-a9260-c02.cfg
new file mode 100644 (file)
index 0000000..c53c097
--- /dev/null
@@ -0,0 +1,11 @@
+#\r
+# Calao Systems USB-A9260-C02\r
+#\r
+# http://www.calao-systems.com/\r
+#\r
+interface ft2232\r
+ft2232_layout jtagkey\r
+ft2232_device_desc "USB-A9260 A"\r
+ft2232_vid_pid 0x0403 0x6001\r
+script interface/calao-usb-a9260.cfg\r
+script target/at91sam9260minimal.cfg\r
diff --git a/src/target/interface/calao-usb-a9260.cfg b/src/target/interface/calao-usb-a9260.cfg
new file mode 100644 (file)
index 0000000..69ddd79
--- /dev/null
@@ -0,0 +1,15 @@
+#\r
+# Calao Systems USB-A9260 common -C01 -C02 setup\r
+#\r
+# http://www.calao-systems.com/\r
+#\r
+# See calao-usb-a9260-c01.cfg and calao-usb-a9260-c02.cfg\r
+#\r
+# note: you must have an openocd version where jtag_speed sets two values\r
+#       trunk ver 606 contains the fix for this particular issue which can\r
+#      be seen if jtag_speed does not set two separate values\r
+#\r
+jtag_speed 1200 0\r
+jtag_nsrst_delay 200\r
+jtag_ntrst_delay 200\r
+\r
diff --git a/src/target/target/at91sam9260minimal.cfg b/src/target/target/at91sam9260minimal.cfg
new file mode 100644 (file)
index 0000000..662ec23
--- /dev/null
@@ -0,0 +1,20 @@
+######################################\r
+# Target:    Atmel AT91SAM9260\r
+######################################\r
+\r
+reset_config trst_and_srst\r
+\r
+#jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction>\r
+jtag_device 4 0x1 0xf 0xe\r
+\r
+jtag_nsrst_delay 200\r
+jtag_ntrst_delay 200\r
+\r
+######################\r
+# Target configuration\r
+######################\r
+\r
+#target <type> <endianess> <reset mode> <JTAG pos> <variant>\r
+target arm926ejs little reset_run 0 arm926ejs\r
+run_and_halt_time 0 30\r
+\r