Skip to content

Commit

Permalink
readme: consolidate jlink options
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Dec 11, 2024
1 parent 604756d commit f22b1c9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f22b1c9

Please sign in to comment.