sim-card
/
osmo-cos
Archived
10
0
Fork 0
This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
osmo-cos/openocd/cc32rs512.cfg

22 lines
555 B
INI

reset_config trst_and_srst
source [find interface/ftdi/jtagkey.cfg]
#jtag_rclk 1000
adapter_khz 100
set _CHIPNAME cc32rs512
set _ENDIAN little
set _CPUTAPID 0x11701f0f
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi
set _FLASHNAME $_CHIPNAME.flash0
# driver base_addr size chip_width bus_width target_number
flash bank $_FLASHNAME cc32rs512 0x00000000 0x80000 0 0 $_TARGETNAME