diff options
author | robertzieba@google.com <robertzieba@google.com> | 2022-02-25 16:25:07 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-03-15 17:00:14 +0000 |
commit | c3dd6d0fc27f0d844dced10e27210efe76b1e344 (patch) | |
tree | 9d76b6fd4918941dd350a7ab421c8ab9a4e059e6 /power | |
parent | 219b8c53616c23797e6a4fde75d7ac028e2b151e (diff) | |
download | chrome-ec-c3dd6d0fc27f0d844dced10e27210efe76b1e344.tar.gz |
ec/util: Add support for EC flashing/debugging through OpenOCD
The existing flash_ec script does have support for OpenOCD, however it
also requires running servo as well. And it does not support the NPCX99nf
line of microcontrollers, nor does it support directly flashing NPCX
devices. This change adds a ec_openocd.py script that serves as a
wrapper around OpenOCD and gdb to make it easy to perform flashing and
debugging through OpenOCD.
BUG=b:208517780
BRANCH=none
TEST=Verified that flashing and debugging worked as expected
Change-Id: I8f4e127ada871f31840b07d20855cb2aa4d9cc54
Signed-off-by: robertzieba@google.com <robertzieba@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3498594
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'power')
0 files changed, 0 insertions, 0 deletions