Skip to content

Instantly share code, notes, and snippets.

@four0four
Created December 8, 2017 08:25
Show Gist options
  • Save four0four/680e1fa70e7c216baac2afbd459d03d8 to your computer and use it in GitHub Desktop.
Save four0four/680e1fa70e7c216baac2afbd459d03d8 to your computer and use it in GitHub Desktop.
source [find cpu/arc/arcompact.tcl]
source [find cpu/arc/em.tcl]
set _CHIPNAME arc600
set _TARGETNAME $_CHIPNAME.cpu
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -expected-id 0x200024b1
target create $_TARGETNAME arc600 -chain-position $_TARGETNAME
arc jtag wait-until-write-finished on
$_TARGETNAME configure -event reset-assert "arc_arcompact_reset $_TARGETNAME"
arc_arcompact_init_regs
@dossalab
Copy link

dossalab commented Mar 21, 2025

For anyone lurking, here it is. Once again I observe yearly resurgence in interest in this topic so making a mental note to add a proper driver to OpenOCD someday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment