From f22b1c9a43f99868a2e9cc5f8b6b5bb019ba2c97 Mon Sep 17 00:00:00 2001 From: Brad Campbell Date: Wed, 11 Dec 2024 06:22:16 +0400 Subject: [PATCH] readme: consolidate jlink options --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 87d031d..496d3ca 100644 --- a/README.md +++ b/README.md @@ -192,19 +192,15 @@ knowing the device type of the MCU on the board. tockloader [command] --board [board] --arch [arch] --page-size [page_size] \ --jlink --jlink-cmd [jlink_cmd] --jlink-device [device] \ - --jlink-speed [speed] --jlink-if [if] + --jlink-speed [speed] --jlink-if [if] \ + --jlink-serial-number [serial_number] - `jlink_cmd`: The JLink executable to invoke. Defaults to `JLinkExe` on Mac/Linux, and `JLink` on Windows. - `device`: The JLinkExe device identifier. - `speed`: The speed value to pass to JLink. Defaults to 1200. - `if`: The interface to pass to JLink. - -JLink supports selecting the target board based on the serial number of the -JTAG. Tockloader exposes this functionality with the `jlink-serial-number` -flag. - - tockloader [command] --jlink-serial-number [serial_number] +- `serial-number`: The serial number of the target board to use with JLink. Tockloader can also do JTAG using OpenOCD. OpenOCD needs to know which config file to use.