summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-04-24 10:51:11 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-05 01:59:40 +0000
commit4574908d30b789e049ade2dee80678b8da4f2c6b (patch)
tree009d65d1ef9f26a67e213956d09271e83025a390 /setup.py
parenta4820cc7079cffc315c04b792429f6392b193b20 (diff)
downloadchrome-ec-4574908d30b789e049ade2dee80678b8da4f2c6b.tar.gz
util: Add support to auto-flash with Segger J-Link gdbserver
Automatically flash the EC binary when running gdb combined with Segger J-Link gdbserver and JTrace. For most code changes, the flashing only takes a 10-20 seconds. Also updated FPMCU debugging docs to mention the gdbinit. BRANCH=none BUG=none TEST=On machine with dragonclaw attached to J-Trace: JLink_Linux_V670e_x86_64/JLinkGDBServerCLExe -select USB -device STM32F412CG -endian little -if SWD -speed auto -noir -noLocalhostOnly BOARD=bloonchipper GDBSERVER=segger gdb --ex "target remote 127.0.0.1:2331" TEST=Same as above, but using CLion for gdb as described in https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/master/docs/fingerprint/fingerprint-debugging.md and setting USING_CLION=FALSE Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I88440c0bc8c9b170b239335a33b3c0a0387447f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2166143 Reviewed-by: Craig Hesling <hesling@chromium.org>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions