SDM CLI Tool#
Install the SDM Package#
Simplicity Device Manager (SDM) is installed through Silicon Lab Tools (SLT) as the sdm package.
slt install sdm
The package includes the following subpackages:
sdm-clisdm-servicesdm-uisdm-metasdm-mcpsdm-shrikesegger-driver
Set Up the Environment#
Add sdm to your PATH.
Locate the installed sdm package:
slt locate sdm
Find the sdm entry and copy the path to the folder that contains the sdm executable.
Windows#
Add the SDM folder to the user Path environment variable:
Open Edit the system environment variables....
Click Environment Variables.
Select Path.
Click Edit.
Add the SDM executable folder. For example:
C:\Users\<username>\.silabs\slt\installs\archive\sdm-windows-x64\Click OK.
Open a new terminal and verify the installation:
sdm --help
macOS#
Add the following line to your shell profile, replacing the path with the folder returned by slt locate:
export PATH="$HOME/.silabs/slt/installs/archive/sdm-darwin-arm64:$PATH"
Open a new terminal and verify the installation:
sdm --help
Linux#
Add the following command to your shell profile, replacing the path with the folder returned by slt locate:
export PATH="$HOME/.silabs/slt/installs/archive/sdm-linux-x64:$PATH"
Open a new terminal and verify the installation:
sdm --help
Command Reference#
Run the following command to display information about all available SDM commands:
sdm --help
Run the following command to show all options for a specific command:
sdm <command> --help
Available Commands#
Command | Description |
|---|---|
| Adapter management |
| Manage adapter packs |
| Print SDM art |
| Commands for working with the board database |
| Commands for capture interfaces |
| Combine two binary files into one |
| Commands related to Simplicity Commander |
| Generate an autocompletion script for the specified shell |
| Interact with configuration settings |
| Entry point for handling the Wireshark extcap interface |
| File-related commands |
| Help about any command |
| Top-level command for managing ISD files |
| J-Link-related commands |
| Commands for working with the kit database |
| Commands for managing device and other locks |
| Commands for working with the part database |
| Top-level command for all PCAP or PCAPNG file mangling |
| Send a simple ping to the server |
| Commands for working with RPS files |
| Analyze the Simplicity Device Manager installation |
| Various server commands |
| Interface for running the Shrike test adapter |
| Various tag commands |
| Opens a terminal session |
| Interact with the user interface application |
| Commands for working with Wireshark |
Example Workflow#
Show available commands:
sdm --helpDiscover connected devices:
sdm adapter listInspect a connected device:
sdm adapter info --adapter <adapter string>Flash a binary to a device:
sdm adapter flash --adapter <adapter string> --file <file path>/<file name>.<file extension>Open a terminal for serial communication:
sdm terminal --adapter <adapter string> --connections <connection string>