@@ -209,15 +209,6 @@ The secondary core can be debugged normally in single core builds
209
209
secondary core should be placed into a loop, then a debugger can be attached
210
210
(see `AN13264 `_, section 4.2.3 for more information)
211
211
212
- Configuring a Debug Probe
213
- =========================
214
-
215
- A debug probe is used for both flashing and debugging the board. This board is
216
- configured by default to use the :ref: `opensda-daplink-onboard-debug-probe `,
217
- however the :ref: `pyocd-debug-host-tools ` do not yet support programming the
218
- external flashes on this board so you must reconfigure the board for one of the
219
- following debug probes instead.
220
-
221
212
Launching Images Targeting M4 Core
222
213
==================================
223
214
If building targeting the M4 core, the M7 core must first run code to launch
@@ -237,26 +228,34 @@ so:
237
228
If desired, this behavior can be disabled by building with
238
229
``-DSB_CONFIG_SECOND_CORE_MCUX_LAUNCHER=n ``
239
230
231
+ Configuring a Debug Probe
232
+ =========================
233
+
234
+ A debug probe is used for both flashing and debugging the board. The on-board
235
+ debugger :ref: `opensda-daplink-onboard-debug-probe `
236
+ works with the LinkServer runner, or can be reprogrammed with JLink firmware.
237
+
238
+ Using LinkServer
239
+ ----------------
240
+
241
+ Install the :ref: `linkserver-debug-host-tools ` and make sure they are in your
242
+ search path. LinkServer works with the default CMSIS-DAP firmware included in
243
+ the on-board debugger.
244
+
240
245
Using J-Link
241
246
------------
242
247
243
- Install the :ref: `jlink-debug-host-tools ` and make sure they are in your search
244
- path.
248
+ Install the :ref: `jlink-debug-host-tools ` and make sure they are in your search path.
245
249
246
- There are two options: the onboard debug circuit can be updated with Segger
247
- J-Link firmware, or :ref: `jlink-external-debug-probe ` can be attached to the
250
+ The on-board debug circuit can be updated with Segger J-Link firmware,
251
+ or :ref: `jlink-external-debug-probe ` can be attached to the
248
252
EVK. See `Using J-Link with MIMXRT1160-EVK or MIMXRT1170-EVK `_ for more details.
249
253
250
- Using LinkServer
251
- ----------------
254
+ Use the ``-r jlink `` option with West to use the jlink runner.
252
255
253
- Install the :ref: `linkserver-debug-host-tools ` and make sure they are in your
254
- search path. LinkServer works with the CMSIS-DAP firmware include in LinkServer
255
- install. Please follow the ``LPCScrypt\docs\Debug_Probe_Firmware_Programming.pdf ``
256
- for more details.
256
+ .. code-block :: console
257
257
258
- Linkserver is the default runner. You may also se the ``-r linkserver `` option
259
- with West to use the LinkServer runner.
258
+ west flash -r jlink
260
259
261
260
Configuring a Console
262
261
=====================
0 commit comments