Wiring View
Commands
Run the commands below after selecting the right Bit Pirate mode and confirming the wiring.
Result
What success looks like
The transfer advances block by block and exits cleanly. Repeated NAKs usually mean the target is not ready, the baud rate is wrong or the file path is invalid.
Troubleshooting
- File is not present on the SD card.
- Target is not in XMODEM receive/send mode.
- Baud rate mismatch.
- Noise or weak ground causing block retries.
UART XMODEM transfer FAQ
Why does XMODEM require an SD card?
The UART XMODEM workflow sends files from SD or receives files to SD, so the file path must exist and the card must be mounted before starting the transfer.
What roles do sender and receiver have in XMODEM?
One side must wait in receive mode while the other sends blocks with acknowledgements and retries. Choosing the wrong direction changes the whole transfer flow.
How should I test XMODEM safely?
Use a small known file first, keep the baud rate conservative, and save the received file under a new name so you can compare it before attempting a firmware recovery transfer.