cfg: beaglebone cleanup
authorNeil Jensen <neil30al@gmail.com>
Fri, 24 Feb 2012 22:31:44 +0000 (16:31 -0600)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 27 Feb 2012 10:01:01 +0000 (10:01 +0000)
Simplified the configuration and removed things that were not necessary for debugging.  Also added reset
configuration.

Signed-off-by: Neil Jensen <neil30al@gmail.com>
Change-Id: I96f991c3051aa68278212cd6509484cbce40ccb7
Reviewed-on: http://openocd.zylin.com/488
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
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
 }
 

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)