Protocol and tool for a serial bootloader
Find a file
2024-05-21 17:19:31 +02:00
program go fmt 2022-07-17 19:48:54 +01:00
protocol Actually set ResponseSyncWota properly... 2022-07-17 20:18:11 +01:00
.gitignore Goreleaser 2024-05-21 16:12:39 +02:00
.goreleaser.yaml add goflags that stops windows builds being sad 2024-05-21 17:19:31 +02:00
go.mod Progress bars! 2021-10-10 17:28:46 +01:00
go.sum Progress bars! 2021-10-10 17:28:46 +01:00
LICENSE Add MIT LICENSE 2021-10-10 15:19:48 +01:00
main.go go fmt 2022-07-17 19:48:54 +01:00
README.md Add missing 'go get' to README 2022-07-17 22:29:19 +01:00

serial-flash - Tool for interacting with Pico bootloaders

This is a command-line tool for uploading code to Raspberry Pi Picos, either running:

It's a go program, so can be installed like any other.

First install go: https://go.dev/doc/install

Then install serial-flash:

go install github.com/usedbytes/serial-flash@latest

Then (assuming your go binary install location is on your $PATH, see you can run serial-flash:

# picowota
serial-flash tcp:192.168.1.123 app.elf

# rp2040_serial_bootloader
serial-flash /dev/ttyUSB0 app.elf

You can also build it without installing:

git clone https://github.com/usedbytes/serial-flash
cd serial-flash
go get -v .
go build .
./serial-flash tcp:192.168.1.123 app.elf