Skip to main content

ST-LINK MSD Driver

jumpstarter-driver-stlink-msd flashes STM32 Nucleo and Discovery boards by copying firmware to the ST-LINK USB mass storage volume.

This is an alternative to probe-rs that avoids known connect-under-reset issues with ST-Link V3. The ST-LINK's built-in mass storage interface handles all the flash programming.

Installation

pip3 install --extra-index-url https://pkg.jumpstarter.dev/simple/ jumpstarter-driver-stlink-msd

Configuration

export:
  flasher:
    type: jumpstarter_driver_stlink_msd.driver.StlinkMsdFlasher
    config:
      # volume_name: "NOD_H755ZI"   # optional: auto-detected if only one ST-LINK is connected
Parameter Description Type Required Default
volume_name Name of the mounted ST-LINK volume (e.g. NOD_H755ZI) str | None no auto-detect

Supported Formats

Format Handling
.bin Copied directly to the ST-LINK volume
.hex Copied directly to the ST-LINK volume

ELF files must be converted externally before flashing:

arm-none-eabi-objcopy -O binary zephyr.elf zephyr.bin

Usage

j flasher flash firmware.bin       # flash a raw binary
j flasher flash firmware.hex       # flash an Intel HEX file
j flasher info                     # show ST-LINK volume details

API Reference

.. autoclass:: jumpstarter_driver_stlink_msd.driver.StlinkMsdFlasher()

Metadata

Release files for jumpstarter-driver-stlink-msd 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jumpstarter-driver-stlink-msd 0.9.0
File Size Uploaded Provenance Actions
jumpstarter_driver_stlink_msd-0.9.0.tar.gz 5.2 kB Without provenance Details for jumpstarter_driver_stlink_msd-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jumpstarter-driver-stlink-msd 0.9.0
File Interpreter ABI Platform Actions
jumpstarter_driver_stlink_msd-0.9.0-py3-none-any.whl Python 3 none any Details for jumpstarter_driver_stlink_msd-0.9.0-py3-none-any.whl

Total release size: 12.3 kB

Security for jumpstarter-driver-stlink-msd 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page