File transfer utility over serial port using printf commands
Project description
SerialFileCopy
A command-line utility for transferring files over a serial port to embedded Linux devices using printf commands.
Installation
pip install serialfilecopy
Usage
serialfilecopy <device> <baudrate> <username> <password> <source_file>
Example:
serialfilecopy /dev/ttyUSB0 115200 root mypassword /path/to/firmware.bin
The tool will:
- Open the serial port
- Log in to the device (or detect an existing session)
- Transfer the file in 256-byte chunks using
printfcommands into/mnt/<filename> - Report progress as a percentage
Requirements
- Python 3.8+
- A serial-connected embedded Linux device
- The device must be reachable via username/password login over the serial console
License
See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
serialfilecopy-1.0.0.tar.gz
(21.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file serialfilecopy-1.0.0.tar.gz.
File metadata
- Download URL: serialfilecopy-1.0.0.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
713f8f6ac7bd851f55ace8e9790d80c93aeec70205836f4e46dbb76e83e5d0f0
|
|
| MD5 |
4f80fea310011bf1a3154a1831d8bc0d
|
|
| BLAKE2b-256 |
e79d253bc2574b393cf0867ee7c2a6e1eda4e691923a691ef5a370e611d57c5b
|
File details
Details for the file serialfilecopy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: serialfilecopy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
602b37bc31fe12e4f355bc83828f40a9cc8a2d135c17f3a1beab7935560ea2e0
|
|
| MD5 |
932b7a0839d5e43408ef095c1fffcf30
|
|
| BLAKE2b-256 |
824a2f9b8b876111a82d013facf4b998e66bebaf12a5386bac2073890c769f8b
|