Kód: Vybrat vše
Open On-Chip Debugger 0.9.0 (2017-03-07-13:28)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Warn : Adapter driver 'parport' did not declare which transports it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
parport port = 0x0
adapter speed: 500 kHz
embedded:startup.tcl:21: Error: -chain-position required when creating target
in procedure 'script'
at file "embedded:startup.tcl", line 60
in procedure 'target' called at file "jupiter4e.cfg", line 22
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
Kód: Vybrat vše
adapter_khz 500
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME arm
}
if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
set _ENDIAN little
}
if { [info exists CPUTAPID ] } {
set _CPUTAPID $CPUTAPID
} else {
# force an error till we get a good number
#set _CPUTAPID 0xffffffff
set _CPUTAPID 0x10940f0f
}
jtag newtap arm taptap -irlen 4 -ircapture 0x1 -irmask 0xf
target create arm arm9tdmi -endian big -chain-position 0
reset_config trst_and_srst srst_pulls_trst
init
halt
poll off
#source scripts.cf
#dc
poll
#ic
armv4_5 reg