cfg: beaglebone cleanup
[fw/openocd] / tcl / board / ti_beaglebone.cfg
index c9a54b0b384a724025fb069875b209ed5e9ebf56..dffb07f83534dbd5ce0015e850010ea8b832c4cc 100644 (file)
@@ -3,8 +3,12 @@ interface ft2232
 ft2232_layout xds100v2
 ft2232_vid_pid 0x0403 0xa6d0
 
-#jtag_rclk 10
-adapter_khz 1000
+adapter_khz 16000
+
+reset_config trst_and_srst
+
+
+
 
 if { [info exists CHIPNAME] } {
    set _CHIPNAME $CHIPNAME
@@ -73,20 +77,8 @@ target create $_TARGETNAME cortex_a8 -chain-position $_CHIPNAME.dap -dbgbase 0x8
 # SRAM: 64K at 0x4030.0000; use the first 16K
 $_TARGETNAME configure -work-area-phys 0x40300000 -work-area-size 0x4000
 
-$_TARGETNAME configure -event reset-assert "am335x_dbginit $_TARGETNAME"
-$_TARGETNAME configure -event reset-assert-post "am335x_dbginit $_TARGETNAME"
-
 $_TARGETNAME configure -event gdb-attach {
-   global _TARGETNAME
-   am335x_dbginit $_TARGETNAME
-   echo "Halting target"
-   halt
-}
-
-# Run this to enable invasive debugging.  This is run automatically in the
-# reset sequence.
-proc am335x_dbginit {target} {
-   # General Cortex A8 debug initialisation
    cortex_a8 dbginit
+   halt
 }