Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.83 KB

File metadata and controls

38 lines (34 loc) · 1.83 KB

gbasend-cli

> gbasend --help
Usage: gbasend [<file>] [-p <port>] [-b <baud>] [-h <handshake-wait>] [-x] [-m] [-n] [-l] [-r] [--speed-test] [--serial-chunk-size <serial-chunk-size>] [--serial-chunk-delay <serial-chunk-delay>]

gbasend v0.0.1, a Serial<->SPI GBA Multiboot Sender by nullstalgia (2025)

Positional Arguments:
  file              binary to send to GBA via Multiboot/nootloader/Xboo.

Options:
  -p, --port        specify a serial/COM port to connect to, otherwise will
                    automatically attempt to find a compatible device.
  -b, --baud        for normal serial devices, specifies the baud rate to
                    connect with. for USB GBA Pico FW, sets the SPI transfer
                    baud rate directly.
  -h, --handshake-wait
                    seconds to wait for initial GBA handshake, set to 0 to wait
                    forever, default is 30 secs.
  -x, --xboo        knock on Xboo Burst Boot Backdoor and try to upload provided
                    binary via nootloader.
  -m, --multiboot   try multiboot exclusively.
  -n, --nootloader  uploads (via Multiboot) or detects nootloader, then uploads
                    provided binary. --skip-nootloader-patch to skip patching
                    entry point to 0x20000C0
  -l, --blind       send binary via nootloader without verifying responses
                    (nootloader only).
  -r, --reset       send HardReset payload to GBA.
  --speed-test      performs a binary search across SPI Clock Speeds to quickly
                    estimate a maximum possible baudrate (gbasend-compatible
                    firmware required).
  --serial-chunk-bytes
                    num of bytes to send over serial with every transaction.
  --serial-chunk-delay
                    delay after every sent serial chunk in ms.
  -h, --help, help  display usage information