Skip to content

Instantly share code, notes, and snippets.

@LIMPIX31
Created May 17, 2026 13:27
Show Gist options
  • Select an option

  • Save LIMPIX31/0d1de724112fd0c8a99752d58ea73373 to your computer and use it in GitHub Desktop.

Select an option

Save LIMPIX31/0d1de724112fd0c8a99752d58ea73373 to your computer and use it in GitHub Desktop.
Andes Tech AE350 SoC OpenOCD
# FT2232 adapter configuration
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
ftdi channel 0
ftdi layout_init 0x0088 0x008b
ftdi layout_signal nTRST -data 0x0010
ftdi layout_signal nSRST -data 0x0020
# JTAG speed
adapter speed 1000
# RISC-V target configuration
transport select jtag
# AE350 CPU configuration
set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563d
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 0x10000 -work-area-backup 0
# Initialize
init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment