diff options
author | Craig Hesling <hesling@chromium.org> | 2021-07-26 16:20:47 -0400 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-27 03:18:37 +0000 |
commit | 2a66004feba7054466ca7ead9b2ef1b626e87ca4 (patch) | |
tree | a6aa8287957729a0e4101d9db0f3992d8628d642 | |
parent | cf98c93053b7c4b9bfee4756f2ac78be43f1d0f9 (diff) | |
download | chrome-ec-2a66004feba7054466ca7ead9b2ef1b626e87ca4.tar.gz |
util/flash_jlink: Change JLinkRemoteServer default port
This changes the used port to JLinkRemoteServerCLExe's actual
default port of 19020, so that you don't need to always specify it.
BRANCH=none
BUG=none
TEST=JLinkRemoteServerCLExe # in background
make proj-bloonchipper -j
./util/flash_jlink.py --board bloonchipper
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: I2a3c1a10e0b5c7b9cc62001a3a26508ea3db8199
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3055111
Reviewed-by: Josie Nordrum <josienordrum@google.com>
-rw-r--r-- | docs/fingerprint/fingerprint-debugging.md | 4 | ||||
-rwxr-xr-x | util/flash_jlink.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/fingerprint/fingerprint-debugging.md b/docs/fingerprint/fingerprint-debugging.md index ed16d9e232..c77874e7bb 100644 --- a/docs/fingerprint/fingerprint-debugging.md +++ b/docs/fingerprint/fingerprint-debugging.md @@ -110,7 +110,9 @@ sensor runs at 1.8V. The pin is also not connected on the current designs. ``` ```bash -(outside) $ ./JLink_Linux_V684a_x86_64/JLinkRemoteServerCLExe -Port 2551 -select USB +# JLinkRemoteServerCLExe will listen on port 19020 (among others) by default. +# This can be overridden with the -Port argument. +(outside) $ ./JLink_Linux_V684a_x86_64/JLinkRemoteServerCLExe -select USB ``` You should see the following: diff --git a/util/flash_jlink.py b/util/flash_jlink.py index b8422880a9..fdd0bd87a1 100755 --- a/util/flash_jlink.py +++ b/util/flash_jlink.py @@ -99,7 +99,7 @@ def main(argv: list): help='JLinkExe path (default: ' + default_jlink + ')', default=default_jlink) - default_ip = '127.0.0.1:2551' + default_ip = '127.0.0.1:19020' parser.add_argument( '--ip', '-n', help='IP address of J-Link or machine running JLinkRemoteServerCLExe ' |