projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers: xds110: Add support TCK changes in firmware update
[fw/openocd]
/
tcl
/
board
/
at91rm9200-dk.cfg
diff --git
a/tcl/board/at91rm9200-dk.cfg
b/tcl/board/at91rm9200-dk.cfg
index 476f5a80d5fc4549fb8278a86b69a96fb5e61919..b8ec00eab98e3985373ff0f0f0adf56027b9b2a9 100644
(file)
--- a/
tcl/board/at91rm9200-dk.cfg
+++ b/
tcl/board/at91rm9200-dk.cfg
@@
-5,17
+5,21
@@
#
# It has atmel at91rm9200 chip.
source [find target/at91rm9200.cfg]
#
# It has atmel at91rm9200 chip.
source [find target/at91rm9200.cfg]
+
+reset_config trst_and_srst
+
$_TARGETNAME configure -event gdb-attach { reset init }
$_TARGETNAME configure -event reset-init { at91rm9200_dk_init }
$_TARGETNAME configure -event gdb-attach { reset init }
$_TARGETNAME configure -event reset-init { at91rm9200_dk_init }
-#flash bank <driver> <base> <size> <chip_width> <bus_width>
-flash_bank cfi 0x10000000 0x00200000 2 2 0
+#flash bank <name> <driver> <base> <size> <chip_width> <bus_width> <target>
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x10000000 0x00200000 2 2 $_TARGETNAME
proc at91rm9200_dk_init { } {
# Try to run at 1khz... Yea, that slow!
# Chip is really running @ 32khz
proc at91rm9200_dk_init { } {
# Try to run at 1khz... Yea, that slow!
# Chip is really running @ 32khz
- adapter
_khz
8
+ adapter
speed
8
mww 0xfffffc64 0xffffffff
## disable all clocks but system clock
mww 0xfffffc64 0xffffffff
## disable all clocks but system clock
@@
-41,7
+45,7
@@
proc at91rm9200_dk_init { } {
#========================================
# CPU now runs at 180mhz
# SYS runs at 60mhz.
#========================================
# CPU now runs at 180mhz
# SYS runs at 60mhz.
- adapter
_khz
40000
+ adapter
speed
40000
#========================================
#========================================