summaryrefslogtreecommitdiff
path: root/tcl/target/ti_dm355.cfg
diff options
context:
space:
mode:
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-21 00:37:58 +0000
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-21 00:37:58 +0000
commit108028112fdf285cd74eaf50d6a353a09039bb7f (patch)
treeab8065b2be85c67c350911629365939d53e9dbbd /tcl/target/ti_dm355.cfg
parentd20103cd93641bca44f737b45004f495cb24a27f (diff)
downloadopenocd_libswd-108028112fdf285cd74eaf50d6a353a09039bb7f.tar.gz
openocd_libswd-108028112fdf285cd74eaf50d6a353a09039bb7f.tar.bz2
openocd_libswd-108028112fdf285cd74eaf50d6a353a09039bb7f.tar.xz
openocd_libswd-108028112fdf285cd74eaf50d6a353a09039bb7f.zip
Ensure that DaVinci chips can't start with a too-fast JTAG clock.
It can be sped up later, once it's known the PLLs are active. Note that modern tools from TI all use adaptive clocking; and that if that's done with OpenOCD, "too fast" is also a non-issue. git-svn-id: svn://svn.berlios.de/openocd/trunk@2740 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'tcl/target/ti_dm355.cfg')
-rw-r--r--tcl/target/ti_dm355.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcl/target/ti_dm355.cfg b/tcl/target/ti_dm355.cfg
index e5ef8cd2..abfba109 100644
--- a/tcl/target/ti_dm355.cfg
+++ b/tcl/target/ti_dm355.cfg
@@ -86,6 +86,12 @@ $_TARGETNAME configure \
-work-area-size 0x4000 \
-work-area-backup 0
+# be absolutely certain the JTAG clock will work with the worst-case
+# CLKIN = 24 MHz (best case: 36 MHz) even when no bootloader turns
+# on the PLL and starts using it. OK to speed up after clock setup.
+jtag_rclk 1500
+$_TARGETNAME configure -event "reset-start" { jtag_rclk 1500 }
+
arm7_9 fast_memory_access enable
arm7_9 dcc_downloads enable