Skip to content

umi-eng/adapter

Repository files navigation

CAN FD Adapter Firmware

A single unified codebase for CAN adapters in many form factors.

Based on the gs_usb protocol, this firmware is plug and play on most recent linux systems.

Feature Supported?
Loopback No
Listen-only No
Tripple-sampling No1
One-shot Yes
Hardware timestamp No
Bus error reporting No
FD (ISO 11898-1:2015) Yes
Bitrate switching Yes
FD Non-ISO mode No2
Presume ACK No2
Classic CAN length 8 DLC No2
Transceiver dely compensation No2
  1. Not supported by STM32G4.
  2. Not supported by the GS USB/CAN driver.

Purchase

You can purchase CAN FD Adapters from our online store.

Firmware Update

The UMI command line tool is the easiest way to get the latest firmare.

umi adapter update

Firmware can also be updated manually using a tool like dfu-util.

The latest firmware is available on the GitHub releases page.

dfu-util -s 0x08000000:leave -D <new-firmware>.bin

Development

Prerequisites:

Debug

cargo run

Build

cargo build --release
# Output firmware binary
cargo objcopy --release -- -O binary firmware.bin
# Prepare for DFU upload
dfu-suffix --vid 1209 --pid 2323 --add firmware.bin

Release

Bump the version number in the Cargo.toml and then tag the desired commit with the version number and push to main.

git tag v0.0.0
git push --all