projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
board: add configuration for stm32f103c8 "Blue Pill"
[fw/openocd]
/
tcl
/
board
/
csb732.cfg
diff --git
a/tcl/board/csb732.cfg
b/tcl/board/csb732.cfg
index 178732304c0655d3ae1f602ef65171f343f34d13..4d6f0e489e6fe0e44c4d95e7ac82f114151ec055 100644
(file)
--- a/
tcl/board/csb732.cfg
+++ b/
tcl/board/csb732.cfg
@@
-3,7
+3,7
@@
source [find target/imx35.cfg]
# Determined by trial and error
reset_config trst_and_srst combined
# Determined by trial and error
reset_config trst_and_srst combined
-
jtag
_nsrst_delay 200
+
adapter
_nsrst_delay 200
jtag_ntrst_delay 200
$_TARGETNAME configure -event gdb-attach { reset init }
jtag_ntrst_delay 200
$_TARGETNAME configure -event gdb-attach { reset init }
@@
-19,13
+19,13
@@
proc csb732_init { } {
# We assume the interpreter latency is enough.
# Allow access to all coprocessors
# We assume the interpreter latency is enough.
# Allow access to all coprocessors
- arm
11 mcr imx35.cpu
15 0 15 1 0 0x2001
+ arm
mcr
15 0 15 1 0 0x2001
# Disable MMU, caches, write buffer
# Disable MMU, caches, write buffer
- arm
11 mcr imx35.cpu
15 0 1 0 0 0x78
+ arm
mcr
15 0 1 0 0 0x78
# Grant manager access to all domains
# Grant manager access to all domains
- arm
11 mcr imx35.cpu
15 0 3 0 0 0xFFFFFFFF
+ arm
mcr
15 0 3 0 0 0xFFFFFFFF
# Set ARM clock to 532 MHz, AHB to 133 MHz
mww 0x53F80004 0x1000
# Set ARM clock to 532 MHz, AHB to 133 MHz
mww 0x53F80004 0x1000