OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [openocd/] [openocd_neorv32.cfg] - Blame information for rev 59

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 59 zero_gravi
# config file for generic FT2232H based USB-jtag interface
2
# references: https://mcuoneclipse.com/2019/10/20/jtag-debugging-the-esp32-with-ft2232-and-openocd/
3
 
4
# FT2232H pinout:
5
# TCK:  D0
6
# TDI:  D1
7
# TDO:  D2
8
# TMS:  D3
9
# TRST: D4 (low-active, optional - pull input pin high if not used)
10
 
11
adapter driver ftdi
12
ftdi_vid_pid 0x0403 0x6010
13
ftdi_channel 0
14
ftdi_layout_init 0x0038 0x003b
15
 
16
adapter speed 1000
17
ftdi_layout_signal nTRST -ndata 0x0010 -noe 0x0040
18
transport select jtag
19
 
20
set _CHIPNAME neorv32
21
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x0cafe001
22
 
23
set _TARGETNAME $_CHIPNAME.cpu
24
 
25
target create $_TARGETNAME.0 riscv -chain-position $_TARGETNAME
26
 
27
# work area ("scratch pad RAM"): beginning of internal DMEM, 256 bytes, REQUIRES backup
28
$_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 256 -work-area-backup 1

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.