Skip to content

Open-CMSIS-Pack/vscode-cmsis-sds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Releases License Apache-2.0 CI Build and Test Markdown Lint CodeQL Analysis OpenSSF Scorecard Dependency Review Maintainability Code Coverage

Arm SDS for VS Code

The Arm SDS extension for VS Code simplifies data capture, inspection, and regression testing with the SDS-Framework. The extension provides a VS Code user interface for SDSIO Server and uses an *.sdsio.yml control file to define the active SDS workspace.

SDS Explorer

The SDS Explorer shows the active SDS configuration, SDSIO controls, stream labels, SDS groups, metadata files, and recorded SDS data files in one view. If no configuration is selected, the view offers actions to create or open an *.sdsio.yml file.

SDS Explorer context menu

Toolbar actions:

Toolbar

  • Connect / Disconnect starts or stops the SDSIO monitor connection.
  • Record captures new SDS data files from the target.
  • Play starts playback using the play: steps defined in the active *.sdsio.yml control file.
  • Stop stops the current recording or playback session.
  • Open Configuration, Create Configuration, and Close Configuration manage the active SDS configuration.

Context menu actions for SDS files include:

  • Check Data File to run SDS Check on a selected .sds file.
  • Create / Edit Metadata (YAML) to create or open the corresponding *.sds.yml metadata file.
  • Open Media Viewer for image, video, or audio streams.
  • Export SDS to CSV for decoded sensor data.
  • Open SDS Viewer for sensor data and line charts.

When an SDS data file is opened, the corresponding [metadata file](https://arm-software.github.io/SDS-Framework/main/theory.html#yaml-metadata-format) provides stream names, data types, scaling, units, and media information. The data, audio, image, and video viewers synchronize their cursors so related streams can be inspected together.

Example Video Stream:

SDS video telemetry view

Example Audio Stream:

SDS audio data view

Usage

1. Create or Open an SDS Configuration

SDS Explorer with no active configuration

Open the SDS sidebar from the Activity Bar. Click New SDS Configuration and enter a name for your project, for example target-a. This creates a target-a.sdsio.yml file in your workspace root and selects it as the active SDS configuration.

You can also use Open SDS Configuration to open an existing *.sdsio.yml file. If the file is outside the current workspace, the extension opens that folder and remembers the selected configuration.

The file looks like:

sdsio:
  interface:
    usb:
  workdir: .
  metadir: .
  flag-info:
    - 0: Flag 0
    - 1: Flag 1
    - 2: Flag 2
    - 3: Flag 3
    - 4: Flag 4
    - 5: Flag 5
    - 6: Flag 6
    - 7: Flag 7

2. Configure Paths and Flags

Edit your .sdsio.yml to set:

  • workdir - directory where SDS recording files are saved (.sds files)
  • metadir - directory containing metadata files (.sds.yml files)
  • flag-info - custom labels for flags 0-7

Example:

workdir: ./recordings
metadir: ./metadata
flag-info:
  - 0: Start
  - 1: Trigger
  - 2: Error

The extension provides validation and editor completion for SDS configuration and metadata files, including *.sdsio.yml, *.sds.yml, and *.sds.yaml.

3. Connect and Control SDSIO

SDS flags view without an active connection

Click Connect SDSIO Monitor in the SDS Explorer toolbar. If tools/sdsio-server is available, the extension launches it with your active .sdsio.yml as the control file. Once connected:

  • Record - Start recording SDS data from the device
  • Play - Play back previously recorded data
  • Stop - Stop the active recording or playback session
  • Flags - Toggle flags 0-7 to control behavior on the device

Renamed flag labels appear in the SDS Explorer and persist in your .sdsio.yml.

Renaming an SDS flag label

4. View and Export Your Data

The SDS Explorer groups SDS files by stream name and shows associated metadata where available. Select a .sds file to open it, or use the context menu for more actions.

  • Sensor data opens in the SDS Viewer with interactive line charts, zooming, panning, block labels, and CSV export.
  • Audio streams open in the Audio Viewer with the same chart cursor and playback controls.
  • Image and video streams open in media viewers with frame navigation and file statistics.
  • Cursor synchronization keeps data, audio, image, and video views aligned by timestamp.
  • Check Data File runs SDS Check for a selected .sds file.

Links

License

Apache-2.0

About

VS Code extension frontend for SDS cli tools.

Resources

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-Apache-2.0

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors