Skip to content

Instantly share code, notes, and snippets.

@brainstorm
brainstorm / openocd_xpc56_session.md
Last active June 10, 2023 14:32
Hyundai CCM OpenOCD

First clone this OpenOCD fork which contains patches for our target board:

git clone https://github.com/calandoa/openocd && cd openocd

Then apply some fixes/patch to the code above:

diff --git a/configure.ac b/configure.ac
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; BACK UP YOUR LOGSEQ DIR BEFORE RUNNING THIS!
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Copyright (C) Aug 4 2022, William R. Burdick Jr.
;;
;; LICENSE
;; This code is dual-licensed with MIT and GPL licenses.