projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
target: add Espressif ESP32 basic support
[fw/openocd]
/
tcl
/
board
/
hilscher_nxhx10.cfg
diff --git
a/tcl/board/hilscher_nxhx10.cfg
b/tcl/board/hilscher_nxhx10.cfg
index add424d4ed91a4d4715a717acb125da17c68a7ed..6e2eba79ebae0fe3557b890408ec8889925db9af 100644
(file)
--- a/
tcl/board/hilscher_nxhx10.cfg
+++ b/
tcl/board/hilscher_nxhx10.cfg
@@
-26,15
+26,13
@@
proc flash_init { } {
}
proc mread32 {addr} {
}
proc mread32 {addr} {
- set value(0) 0
- mem2array value 32 $addr 1
- return $value(0)
+ return [read_memory $addr 32 1]
}
proc init_clocks { } {
puts "Enabling all clocks "
set accesskey [mread32 0x101c0070]
}
proc init_clocks { } {
puts "Enabling all clocks "
set accesskey [mread32 0x101c0070]
- mww 0x101c0070
[expr $accesskey]
+ mww 0x101c0070
$accesskey
mww 0x101c0028 0x00007511
}
mww 0x101c0028 0x00007511
}
@@
-42,7
+40,7
@@
proc init_clocks { } {
proc init_sdrambus { } {
puts "Initializing external SDRAM Bus 16 Bit "
set accesskey [mread32 0x101c0070]
proc init_sdrambus { } {
puts "Initializing external SDRAM Bus 16 Bit "
set accesskey [mread32 0x101c0070]
- mww 0x101c0070
[expr $accesskey]
+ mww 0x101c0070
$accesskey
mww 0x101c0C40 0x00000050
puts "Configuring SDRAM controller for K4S561632E (32MB) "
mww 0x101c0C40 0x00000050
puts "Configuring SDRAM controller for K4S561632E (32MB) "