Skip to content

Instantly share code, notes, and snippets.

@nvsofts
Last active November 23, 2017 10:02
Show Gist options
  • Save nvsofts/a0b594d7f724f4a061a6e4bbc1cb7011 to your computer and use it in GitHub Desktop.
Save nvsofts/a0b594d7f724f4a061a6e4bbc1cb7011 to your computer and use it in GitHub Desktop.
OpenOCD config for SANYO LC82162 (ARM7TDMI)
source [find interface/ftdi/um232h.cfg]
transport select jtag
adapter_khz 200
source [find cpu/arm/arm7tdmi.tcl]
jtag newtap lc82162 cpu -irlen 4 -expected-id 0x3f1f0f0f
target create lc82162.cpu arm7tdmi -endian little -chain-position lc82162.cpu
reset_config trst_and_srst
adapter_nsrst_delay 200
jtag_ntrst_delay 200
lc82162.cpu configure -event gdb-attach {
reset halt
wait_halt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment