Skip to content

Protocol and tool for a serial bootloader

License

Notifications You must be signed in to change notification settings

nayarsystems/serial-flash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Protocol and tool for a serial bootloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%