URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
Subversion Repositories neorv32
Compare Revisions
- This comparison shows the changes necessary to convert path
/neorv32/trunk/sw/openocd
- from Rev 69 to Rev 72
- ↔ Reverse comparison
Rev 69 → Rev 72
/openocd_neorv32.cfg
2,7 → 2,7
# references: https://mcuoneclipse.com/2019/10/20/jtag-debugging-the-esp32-with-ft2232-and-openocd/ |
|
# ---------------------------------------------- |
# Interface configuration |
# Interface/adapter configuration |
# ---------------------------------------------- |
|
# FT2232H pinout: |
13,12 → 13,12
# TRST: D4 (low-active, optional - pull input pin high if not used) |
|
adapter driver ftdi |
ftdi_vid_pid 0x0403 0x6010 |
ftdi_channel 0 |
ftdi_layout_init 0x0038 0x003b |
ftdi vid_pid 0x0403 0x6010 |
ftdi channel 0 |
ftdi layout_init 0x0038 0x003b |
|
adapter speed 1000 |
ftdi_layout_signal nTRST -ndata 0x0010 -noe 0x0040 |
ftdi layout_signal nTRST -ndata 0x0010 -noe 0x0040 |
transport select jtag |
|
# ---------------------------------------------- |
34,8 → 34,30
target create $_TARGETNAME.0 riscv -chain-position $_TARGETNAME |
|
# ---------------------------------------------- |
# Access memory via program buffer |
# ---------------------------------------------- |
|
riscv set_mem_access progbuf |
|
# ---------------------------------------------- |
# 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 |
|
# ---------------------------------------------- |
# Expose NEORV32-specific CSRs |
# ---------------------------------------------- |
|
riscv expose_csrs 4032=mxisa |
|
# ---------------------------------------------- |
# Start session |
# ---------------------------------------------- |
|
init |
halt |
|
echo "Target HALTED." |
echo "Ready for remote connections." |