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-0.9.1.tar.gz
(18.1 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-0.9.1.tar.gz.
File metadata
- Download URL: serialfilecopy-0.9.1.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23a5344f7277766a73486213cd2b90af9991136ad3c2424971c6eed9257b3a70
|
|
| MD5 |
6509cd249cb2ff904617e7a0ebeaae2e
|
|
| BLAKE2b-256 |
a526fa2b2954fc3ffc162dce9207363ad975c288a71e836a6c91e8e548db0d98
|
File details
Details for the file serialfilecopy-0.9.1-py3-none-any.whl.
File metadata
- Download URL: serialfilecopy-0.9.1-py3-none-any.whl
- Upload date:
- Size: 19.6 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 |
1d74f65bf6d3d407b7390240da57a49fa42ddff3f034669487cc51167b16532c
|
|
| MD5 |
b0c9907fd781a1f5db318796a9b6eee0
|
|
| BLAKE2b-256 |
c053c7134dba539f7f0ed944bb65bf945cc962bedcbd752a971a85e36739b2f9
|