Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface ftdi
- ftdi_device_desc "Olimex OpenOCD JTAG ARM-USB-OCD-H"
- ftdi_vid_pid 0x15ba 0x002b
- ftdi_layout_init 0x0c08 0x0f1b
- ftdi_layout_signal nSRST -oe 0x0200
- ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
- ftdi_layout_signal LED -data 0x0800
- ######################################
- # Target: CYPRESS FX3 ARM926-ejs
- ######################################
- 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
- jtag_ntrst_delay 200
- adapter_khz 1000
- reset_config trst_only
- #adapter_nsrst_delay 200
- #reset_config trst_and_srst srst_pulls_trst
- jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
- #target create arm920t $_CHIPNAME
- #jtag_rclk 3
- ######################
- # Target configuration
- ######################
- set _TARGETNAME $_CHIPNAME.cpu
- target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs -rtos ThreadX
- adapter_khz 1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement