You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2416,66 +2416,82 @@ This sensor shield layer provides a set of interfaces that are configurable.
2416
2416
2417
2417
## Debugger Configuration
2418
2418
2419
-
Packs contain information for configuring debugger connection to a device or board. The `debugger:` node that is specified under the [`target-set:`](#target-set) in the *csolution project* allows
2420
-
to overwrite configuration information or to define new debugger setups.
2419
+
The `debugger:` node specified under the [`target-set:`](#target-set) in the *csolution project* configures the debugger.
2420
+
2421
+
!!! Notes
2422
+
- Packs may provide a default configuration for a debugger connection to a device or board.
2423
+
- Serveral settings are optional and the default settings are specific to the selected debug adapter.
2424
+
- The complete debugger settings including default values are listed in `debugger:` node of the [`*.cbuild-run.yml` file](YML-CBuild-Format.md#run-and-debug-management).
`clock:` | Optional | Select debug clock speed (in Hz for pyOCD, in kHz for JLink).
2429
-
`dbgconf:` | Optional | Configuration file for device settings such as trace pins and option bytes.
2430
-
`start-pname:` | Optional | Debugger connects at start to this processor.
2431
-
`*:` | Optional | Other debugger specific options can be used (see below), the section is not schema checked.
2431
+
`*:` | Optional | Other debugger specific options can be used as documented below.
2432
2432
2433
-
!!! Note
2434
-
If values are not specified, the default values from `debug-adapter.yml` are used.
2433
+
The command `csolution list debuggers` outputs the `name:` of the supported debug adatpers; using the option `--verbose` extends the list with alias names that are also accepted as `name:` There are five different debug adapter categories:
[`<adapter>@pyOCD`](#pyocd) | Debug Adapters that interface via pyOCD.
2438
+
[`<adapter>@Arm-Debugger`](#arm-debugger) | Debug Adapters that interface via the Arm-Debugger.
2439
+
[`Arm-FVP`](#arm-fvp) | [FVP](https://arm-software.github.io/AVH/main/simulation/html/index.html) simulation models that represent processor sub-systems.
2440
+
[`Keil uVision`](#keil-uvision) | [uVision Debugger](http://developer.arm.com/documentation/101407/0543/Debugging) that is integrated in the Keil uVision IDE.
2441
+
[`JLink Server`](#jlink-server) | [Segger J-Link](https://www.segger.com/products/debug-probes/j-link/) debug probes that connect using the JLink Server.
2442
+
2443
+
The [Arm CMSIS Solution](https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution) VS Code extension creates from the information provided by `debugger:` node, the entries in the files `.vscode/tasks.json` and `.vscode/launch.json` for starting the debug adapter. [`pyOCD`](#pyocd) supports a command-line mode that uses the [`*.cbuild-run.yml`](YML-CBuild-Format.md#run-and-debug-management) file which is created by the CMSIS-Toolbox.
2444
+
2445
+
The following sections describes the options available for the different debug adapter types.
2446
+
2447
+
### pyOCD
2448
+
2449
+
This section lists options that are specific for pyOCD that connects to [CMSIS-DAP](https://arm-software.github.io/CMSIS-DAP/latest/index.html) and ST-Link debug adapters. CMSIS-DAP is a standardize protocol that is used by many different debug adapters. All CMSIS-DAP enabled debug adapters can be accessed with `name: CMSIS-DAP@pyOCD`. A specific debug adapter name such as `name: ULINKplus@pyOCD` provides tailored default settings and a custom configuration dialog in the [Arm CMSIS Solution](https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution) VS Code extension.
ToDo: this section needs to be in-synch with pyOCD
2462
-
2463
-
### Options for pyOCD
2464
-
2465
-
This section lists options that are specific for pyOCD that is used to connect to CMSIS-DAP and ST-Link debug adapters.
2480
+
#### `telnet:` for pyOCD
2466
2481
2467
-
#### `telnet:`
2482
+
!!! Note
2483
+
The `telnet:` feature will be implemented until Dec 2025. This section is only a preview.
2468
2484
2469
2485
pyOCD allows to configure for each processor that runs a independent application an Telnet service that connects to character I/O funtions. Character I/O is supported via Semihosting or Segger RTT channel 0.
2470
2486
The `telnet:` node configures:
2471
2487
2472
2488
- Telnet port for connecting remote tools, for example the [VS Code extension Serial Monitor](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-serial-monitor).
2473
2489
- Redirect the output to a log file or the console.
`name:` |**Required** | Identifies the debug adapter with `<adapter>@Arm-Debugger`.
2553
+
2554
+
**Example:**
2555
+
2556
+
```yml
2557
+
debugger:
2558
+
name: CMSIS-DAP@Arm-Debugger
2559
+
```
2560
+
2561
+
### Arm-FVP
2562
+
2563
+
This section lists options that are specific to the [FVP](https://arm-software.github.io/AVH/main/simulation/html/index.html) simulation models. An FVP is a configureable simulation model that are designed for software validation. It represents one or more Arm processors.
`name:` |**Required** | Identifies the debug adapter with `Arm-FVP`.
2570
+
`model:` | Optional | Model selection for a pre-defined list (see table below). Default: `FVP_MPS2_Cortex-M3`.
2571
+
`model-file:` | Optional | Path and filename of the FVP executable; this setting overrules `model:`.
2572
+
`config-file:` | Optional | Path and filename of the [FVP configuration file](https://arm-software.github.io/AVH/main/simulation/html/using.html).
2573
+
`args:`| Optional | Miscellaneous [command line arguments](https://arm-software.github.io/AVH/main/simulation/html/using.html).
2574
+
2575
+
!!! Note
2576
+
- `model-file:`is an explicit filename of an simulation model. This setting overwrites a `model:` selection.
2577
+
2578
+
`model:`can select only of the following pre-defined reference platforms. You should use the `model:` selection in combination with a `pack:` and `device:` as listed under
2579
+
["CMSIS-based projects for AVH FVPs"](https://arm-software.github.io/AVH/main/simulation/html/avh_fvp_cmsis.html).
`FVP_Corstone 300`| [Arm Corstone 300](https://developer.arm.com/documentation/100966/1128/Arm--Corstone-SSE-300-FVP) Reference Platform with Cortex-M55
2584
+
`FVP_Corstone_SSE-300_Ethos-U55`| [Arm Corstone 300](https://developer.arm.com/documentation/100966/1128/Arm--Corstone-SSE-300-FVP) Reference Platform with Cortex-M55 and Ethos-U55
2585
+
`FVP_Corstone_SSE-300_Ethos-U65`| [Arm Corstone 300](https://developer.arm.com/documentation/100966/1128/Arm--Corstone-SSE-300-FVP) Reference Platform with Cortex-M55 and Ethos-U65
2586
+
`FVP_Corstone 310`| [Arm Corstone 310](https://developer.arm.com/documentation/102778) Reference Platform with Cortex-M85 and Ethos-U55.
2587
+
`FVP_Corstone_SSE-310_Ethos-U65`| [Arm Corstone 310](https://developer.arm.com/documentation/102778) Reference Platform with Cortex-M85 and Ethos-U65.
2588
+
`FVP_Corstone 315`| [Arm Corstone 315](https://developer.arm.com/documentation/109395) Reference Platform with Cortex-M85, Ethos-U65, and Mali-C55.
2589
+
`FVP_Corstone 320`| [Arm Corstone 320](https://developer.arm.com/documentation/109760) Reference Platform with Cortex-M85, Ethos-U85, and Mali-C55.
2590
+
`FVP_MPS2_Cortex-M0`| [Arm Microcontroller Prototyping System with Cortex-M0](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M0)
2591
+
`FVP_MPS2_Cortex-M0plus`| [Arm Microcontroller Prototyping System with Cortex-M0+](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M0plus)
2592
+
`FVP_MPS2_Cortex-M3`| [Arm Microcontroller Prototyping System with Cortex-M3](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M3)
2593
+
`FVP_MPS2_Cortex-M4`| [Arm Microcontroller Prototyping System with Cortex-M4](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M4)
2594
+
`FVP_MPS2_Cortex-M7`| [Arm Microcontroller Prototyping System with Cortex-M7](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M7)
2595
+
`FVP_MPS2_Cortex-M23`| [Arm Microcontroller Prototyping System with Cortex-M23](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M23)
2596
+
`FVP_MPS2_Cortex-M33`| [Arm Microcontroller Prototyping System with Cortex-M33](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M33)
2597
+
`FVP_MPS2_Cortex-M35P`| [Arm Microcontroller Prototyping System with Cortex-M35P](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M35P)
2598
+
`FVP_MPS2_Cortex-M52`| [Arm Microcontroller Prototyping System with Cortex-M52](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M52)
2599
+
`FVP_MPS2_Cortex-M55`| [Arm Microcontroller Prototyping System with Cortex-M55](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M55)
2600
+
`FVP_MPS2_Cortex-M85`| [Arm Microcontroller Prototyping System with Cortex-M85](https://developer.arm.com/documentation/100966/latest/MPS2-Platform-FVPs/FVP-MPS2-Cortex-M85)
2601
+
2602
+
**Example:**
2603
+
2604
+
```yml
2605
+
debugger:
2606
+
name: CMSIS-DAP@Arm-Debugger
2607
+
model: FVP_Corstone_SSE-320
2608
+
config-file: ./FVP_Config.txt
2609
+
args: --simlimit 600 # stop simulation after 600 seconds
2610
+
```
2611
+
2612
+
### Keil uVision
2613
+
2614
+
This section lists options that are specific for the uVision Debugger.
0 commit comments