Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F717134
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
kan
Nov 17 2016, 6:11 PM
2016-11-17 18:11:38 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
source [ find interface/ftdi/flyswatter2.cfg ]
adapter_khz 6000
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME armada390
}
if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
set _CPUTAPID 0x4ba00477
}
jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
proc armada390_dbginit {target} {
cortex_a dbginit
}
if { [info exists DAP_DBG1] } {
set _DAP_DBG1 $DAP_DBG1 } else {
set _DAP_DBG1 0x801A8000
}
if { [info exists DAP_DBG2] } {
set _DAP_DBG2 $DAP_DBG2
} else {
set _DAP_DBG2 0x801A8000
}
set _TARGETNAME_1 cpu1
set _TARGETNAME_2 cpu2
target create $_TARGETNAME_1 cortex_a -chain-position $_CHIPNAME.dap \
-coreid 0
target create $_TARGETNAME_2 cortex_a -chain-position $_CHIPNAME.dap \
-coreid 1
target smp cpu1 cpu2
$_TARGETNAME_1 configure -event reset-assert-post "armada390_dbginit $_TARGETNAME_1"
$_TARGETNAME_2 configure -event reset-assert-post "armada390_dbginit $_TARGETNAME_2"
# We need to init now, so we can run the apsel command.
init
dap apsel 1
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
664718
Default Alt Text
(1 KB)
Attached To
Mode
P114 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment