projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl/target/stm32(f7/h7)x: do not assume presence of the reset
[fw/openocd]
/
tcl
/
board
/
topasa900.cfg
diff --git
a/tcl/board/topasa900.cfg
b/tcl/board/topasa900.cfg
index 5984f81ffa960621d5da9f399499d69321a8f8d9..4fa63831bcc5a182815d7656c8fb82c3e3bb3d33 100644
(file)
--- a/
tcl/board/topasa900.cfg
+++ b/
tcl/board/topasa900.cfg
@@
-37,7
+37,7
@@
proc topasa900_init { } {
# Init SDRAM
# _PMCDRV = 0x00000071;
# //
# Init SDRAM
# _PMCDRV = 0x00000071;
# //
-# // Initialize SDRAM timing param
a
ter
+# // Initialize SDRAM timing param
e
ter
# //
# _DMC_CAS_LATENCY = 0x00000006;
# _DMC_T_DQSS = 0x00000000;
# //
# _DMC_CAS_LATENCY = 0x00000006;
# _DMC_T_DQSS = 0x00000000;
@@
-105,7
+105,7
@@
proc topasa900_init { } {
mww 0xf4300004 0x00000000
sleep 10
mww 0xf4300004 0x00000000
sleep 10
-#
jtag_khz
NNNN
+#
adapter speed
NNNN
# remap off in case of IROM boot
mww 0xf0000004 0x00000001
# remap off in case of IROM boot
mww 0xf0000004 0x00000001
@@
-113,14
+113,13
@@
proc topasa900_init { } {
}
# comment the following out if usinf J-Link, it soes not support DCC
}
# comment the following out if usinf J-Link, it soes not support DCC
-arm7_9 dcc_downloads enable # Enable faster DCC downloads
+arm7_9 dcc_downloads enable
;
# Enable faster DCC downloads
#####################
# Flash configuration
#####################
#####################
# Flash configuration
#####################
-#flash bank
cfi <base> <size> <chip width> <bus width> <target#
>
+#flash bank
<name> cfi <base> <size> <chip width> <bus width> <target
>
set _FLASHNAME $_CHIPNAME.flash
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x20000000 0x1000000 2 2 0
-
+flash bank $_FLASHNAME cfi 0x20000000 0x1000000 2 2 $_TARGETNAME