Skip to main content

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/

PyPI - Format PyPI - Python Version PyPI - License

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

If you're not sure about the file name format, learn more about wheel file names.

pymdfu-1.0.2.6-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file pymdfu-1.0.2.6-py3-none-any.whl.

File metadata

  • Download URL: pymdfu-1.0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pymdfu-1.0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 edbb8d1f198db8d436f9473950ee707e79195d5a0d6b037c0eba6cb781ed0b58
MD5 a89201ab49f6ae48e7240b7b77d78aef
BLAKE2b-256 6a72f99bda9e25c2ab32d8d3ee1843ded123b89583bb29223a3195fad89fbf44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page