59 lines
1.3 KiB
INI
59 lines
1.3 KiB
INI
#
|
|
# OpenOCD configuration file for Cypress FX3 (ARM926EJ-S).
|
|
#
|
|
# FX3 has a standard ARM JTAG TAP and can work with a standard ARM926EJ-S configuration.
|
|
#
|
|
# The interface selected below is the CY7C65215 based JTAG debug probe. If another
|
|
# debug probe is being used, just replace the "interface cy7c65215" line with the
|
|
# appropriate interface name.
|
|
#
|
|
|
|
gdb_port 3333
|
|
adapter driver openjtag
|
|
openjtag_variant cy7c65215
|
|
|
|
######################################
|
|
# Target: CYPRESS FX3 ARM926EJ-S
|
|
######################################
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set _CHIPNAME $CHIPNAME
|
|
} else {
|
|
set _CHIPNAME fx3
|
|
}
|
|
|
|
if { [info exists ENDIAN] } {
|
|
set _ENDIAN $ENDIAN
|
|
} else {
|
|
set _ENDIAN little
|
|
}
|
|
|
|
if { [info exists CPUTAPID] } {
|
|
set _CPUTAPID $CPUTAPID
|
|
} else {
|
|
set _CPUTAPID 0x07926069
|
|
}
|
|
|
|
|
|
#delays on reset lines
|
|
adapter srst delay 200
|
|
jtag_ntrst_delay 200
|
|
|
|
adapter speed 1000
|
|
|
|
reset_config trst_and_srst srst_pulls_trst
|
|
|
|
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
|
|
|
jtag_rclk 3
|
|
|
|
######################
|
|
# Target configuration
|
|
######################
|
|
|
|
set _TARGETNAME $_CHIPNAME.cpu
|
|
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
|
|
#-variant arm926ejs
|
|
|
|
#adapter speed 1000
|