1 unstable release
0.1.1 | Sep 25, 2024 |
---|
#696 in Embedded development
16KB
355 lines
Pilkki Software
This folder contains the utility to interact with the flasher.
How to Use
To run the flashing tool:
- Use
cargo run
to run the tool. - Use
cargo build --release
to build the release version.
The utility should automatically detect the connected port; otherwise, you can specify it manually with the --port
flag.
Getting help
cargo run -- help
Finding the Port to Which Your Device Is Connected:
Linux:
ls /dev/ttyUSB*
MacOS:
ls /dev/tty.* /dev/cu.*
Verify Connection to the Device
To connect to the device, run:
cargo run -- --port /port/address connect
Flash a New Binary:
To flash a new binary to the device:
cargo run -- write --input /path/to/your/binary.bin
Or, if you need to specify the port manually:
cargo run -- write --port /port/address --input /path/to/your/binary.bin
Getting the Firmware Binary
You can either:
- Build the binary using the code from the kampela-firmware repository.
- Download the compiled binary from the releases section.
Dependencies
~3.5MB
~61K SLoC