projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl/boards: Rename 'ek-tm4c1294xl.cfg' to 'ti_ek-tm4c1294xl.cfg'
[fw/openocd]
/
tcl
/
target
/
u8500.cfg
diff --git
a/tcl/target/u8500.cfg
b/tcl/target/u8500.cfg
index 1313efd3a22a7b00cf7951b7ed4558466a95984d..36e0db71d20e08166f789fb3b37f7697e95f4a38 100644
(file)
--- a/
tcl/target/u8500.cfg
+++ b/
tcl/target/u8500.cfg
@@
-1,6
+1,6
@@
# Copyright (C) ST-Ericsson SA 2011
# Author : michel.jaouen@stericsson.com
# Copyright (C) ST-Ericsson SA 2011
# Author : michel.jaouen@stericsson.com
-# U8500 target
+# U8500 target
proc mmu_off {} {
set cp [arm mrc 15 0 1 0 0]
proc mmu_off {} {
set cp [arm mrc 15 0 1 0 0]
@@
-19,19
+19,19
@@
proc ocd_gdb_restart {target_id} {
global _SMP
targets $_TARGETNAME_1
if { [expr ($_SMP == 1)] } {
global _SMP
targets $_TARGETNAME_1
if { [expr ($_SMP == 1)] } {
- cortex_a smp
_
off
+ cortex_a smp
off
}
rst_run
halt
if { [expr ($_SMP == 1)]} {
}
rst_run
halt
if { [expr ($_SMP == 1)]} {
- cortex_a smp
_
on
+ cortex_a smp
on
}
}
proc smp_reg {} {
global _TARGETNAME_1
global _TARGETNAME_2
}
}
proc smp_reg {} {
global _TARGETNAME_1
global _TARGETNAME_2
- targets $_TARGETNAME_1
+ targets $_TARGETNAME_1
echo "$_TARGETNAME_1"
set pc1 [reg pc]
set stck1 [reg sp_svc]
echo "$_TARGETNAME_1"
set pc1 [reg pc]
set stck1 [reg sp_svc]
@@
-68,7
+68,7
@@
proc pwrsts { } {
8 {
echo "A9 100% DVFS"
}
8 {
echo "A9 100% DVFS"
}
- c {
+ c {
echo "A9 50% DVFS"
}
}
echo "A9 50% DVFS"
}
}
@@
-144,7
+144,7
@@
tcl_port 5555
telnet_port 4444
gdb_port 3333
telnet_port 4444
gdb_port 3333
-if { [info exists CHIPNAME] } {
+if { [info exists CHIPNAME] } {
global _CHIPNAME
set _CHIPNAME $CHIPNAME
} else {
global _CHIPNAME
set _CHIPNAME $CHIPNAME
} else {
@@
-194,12
+194,12
@@
set _TARGETNAME_1 $TARGETNAME_1
if { [info exists DAP_DBG1] } {
set _DAP_DBG1 $DAP_DBG1
} else {
if { [info exists DAP_DBG1] } {
set _DAP_DBG1 $DAP_DBG1
} else {
- set _DAP_DBG1 0x801A8000
+ set _DAP_DBG1 0x801A8000
}
if { [info exists DAP_DBG2] } {
set _DAP_DBG2 $DAP_DBG2
} else {
}
if { [info exists DAP_DBG2] } {
set _DAP_DBG2 $DAP_DBG2
} else {
- set _DAP_DBG2 0x801AA000
+ set _DAP_DBG2 0x801AA000
}
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
}
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
@@
-226,7
+226,7
@@
global _SMP
set _SMP $SMP
}
global SMP
set _SMP $SMP
}
global SMP
-if { $_SMP == 1} {
+if { $_SMP == 1} {
target smp $_CHIPNAME.cpu2 $_CHIPNAME.cpu1
}
target smp $_CHIPNAME.cpu2 $_CHIPNAME.cpu1
}
@@
-264,7
+264,7
@@
proc att { } {
} else {
echo "target secured"
}
} else {
echo "target secured"
}
-
+
}
}
@@
-310,11
+310,11
@@
if {![info exists MAXSPEED]} {
global _MAXSPEED
set _MAXSPEED 15000
} else {
global _MAXSPEED
set _MAXSPEED 15000
} else {
-global _MAXSPEED
+global _MAXSPEED
set _MAXSPEED $MAXSPEED
}
set _MAXSPEED $MAXSPEED
}
-global _MAXSPEED
-adapter
_khz
$_MAXSPEED
+global _MAXSPEED
+adapter
speed
$_MAXSPEED
gdb_breakpoint_override hard
gdb_breakpoint_override hard
@@
-322,5
+322,3
@@
set mem inaccessible-by-default-off
jtag_ntrst_delay 100
reset_config trst_and_srst combined
jtag_ntrst_delay 100
reset_config trst_and_srst combined
-
-