URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
Subversion Repositories neorv32
[/] [neorv32/] [trunk/] [sw/] [openocd/] [openocd_neorv32.cfg] - Rev 70
Go to most recent revision | Compare with Previous | Blame | View Log
# openOCD configuration file for generic FT2232H-based USB-jtag interface# references: https://mcuoneclipse.com/2019/10/20/jtag-debugging-the-esp32-with-ft2232-and-openocd/# ----------------------------------------------# Interface configuration# ----------------------------------------------# FT2232H pinout:# TCK: D0# TDI: D1# TDO: D2# TMS: D3# TRST: D4 (low-active, optional - pull input pin high if not used)adapter driver ftdiftdi_vid_pid 0x0403 0x6010ftdi_channel 0ftdi_layout_init 0x0038 0x003badapter speed 1000ftdi_layout_signal nTRST -ndata 0x0010 -noe 0x0040transport select jtag# ----------------------------------------------# Target configuration# ----------------------------------------------set _CHIPNAME neorv32set _JTAGID 0x0cafe001jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_JTAGIDset _TARGETNAME $_CHIPNAME.cputarget create $_TARGETNAME.0 riscv -chain-position $_TARGETNAME# ----------------------------------------------# Scratch pad RAM# ----------------------------------------------# work area ("scratch pad RAM"): beginning of (internal) DMEM, 256 bytes, requires(!) backup$_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 256 -work-area-backup 1
Go to most recent revision | Compare with Previous | Blame | View Log
