Microchip Device Firmware Upgrade Application
Project description
pymdfu - Microchip Device Firmware Upgrade application
This utility requires that the input image is built in a format matching the bootloader firmware. To build such images for Microchip 8-bit microcontrollers use the pyfwimagebuilder tool: https://pypi.org/project/pyfwimagebuilder/
Usage
pymdfu can be used as a command-line interface or a library
Command line help
For help, use:
pymdfu --help
Update an image from the command-line
Example usage:
pymdfu update serial myimage.img --port COM11 --baudrate 9600
Additional command-line switches
-v , --verbose
Logging verbosity configuration. Valid values for level are ('debug', 'info', 'warning', 'error', 'critical')
-V, --version
Print pymdfu version and exit
-R, --release-info
Print pymdfu release details and exit
Changelog
[1.0.2] - December 2023
Added
- PYTOOLS-211 Add missing packaging dependency
[1.0.1] - December 2023
- Support MDFU get client info command
- Read client command timeouts
- Read client MDFU protocol version
- Support individual command timeouts
- Decode transport and file transfer abort error causes
- Check image state command response
- Bugfixes
Added
- PYTOOLS-156 New get client information command with version and command timeouts
- PYTOOLS-91 Decode transport and file transfer abort error causes
- PYTOOLS-90 Check "get image state" command response packet payload for image status
Fixed
- PYTOOLS-155 PyMDFU tool usage guideline is incorrect
- PYTOOLS-84 Document link between pymdfu and pyfwimagebuilder
[0.1.4] - October 2023
Initial public beta release.
Initial beta release
[0.0.1] - October 2023
- Placeholder release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
pymdfu-1.0.2.6-py3-none-any.whl
(31.8 kB
view hashes)