SerProg
A serial and secure programming tool for microcontroller.
Reference project
-
Bootloader for Microchip SAME54 series MCU (ARM Cortex-M4F)
-
Bootloader for Nuvoton M480 series MCU (ARM Cortex-M4F)
-
Bootloader for auxiliary MCU (ATmega16U4). The main function is to convert USB-UART protocol.
Download
You can install this package from PyPI using pip. Simply run the following command:
pip install serprog
Usage
usage: serprog prog [-h] [-d DEVICE] -p PORT [-f FLASH_FILE] [-ef EXT_FLASH_FILE] [-e EEPROM_FILE] [-flashboot]
options:
-h, --help show this help message and exit
-d DEVICE, --decice DEVICE
The name or number of the device type to be programmed. Can see available device type by
subcommand print-device-list.
-p PORT, --port PORT The serial port which program burn the device.
-f FLASH_FILE, --flash FLASH_FILE
Set binary file which program to flash.
-ef EXT_FLASH_FILE, --extflash EXT_FLASH_FILE
Set binary file which program to externel flash.
-e EEPROM_FILE, --eeprom EEPROM_FILE
Set binary file which program to eeprom.
-flashboot, --extflash_boot
Program from externel flash to internel flash.
- [Example]: program the specified image file (.hex) into the MCU's internal flash.
serprog prog -p COM1 -f image.hex
- [Example]: program the specified image file (.hex) into the development board's NOR flash.
serprog prog -p COM1 -ef image.hex
Boot scheme
Bootloader Protocol
Communication handshake
Communication command
Flowchart
Bootloader packet format
Bootloader data format
Secure Boot
Metadata
Release files for serprog 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serprog-0.3.0.tar.gz | 14.9 kB | Without provenance | Details for serprog-0.3.0.tar.gz |
Release files / serprog-0.3.0.tar.gz
| Download URL | serprog-0.3.0.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77e1014a867b51882d746276cf6515960b9c3e733d48ab4b845b4389df383234
|
|
BLAKE2b-256 checksum How to use checksums |
71ae9549c1d0b15cd096028e90dc3e538fb7889de0ca18595b4d746cd55b2393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Security for serprog 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.