Skip to main content

Firmware image builder for Microchip mdfu bootloaders

Project description

pyfwimagebuilder - Firmware Image Builder

This utility is used to produce image files which can be used with the pymdfu tool: https://pypi.org/project/pymdfu/

PyPI - Format PyPI - Python Version PyPI - License

Overview

Usage

pyfwimagebuilder can be used as a command-line interface or a library

Building an image from the command-line

for help, use:

pyfwimagebuilder --help

Example usage:

Building an image:

pyfwimagebuilder build -i myapp.hex -c myconfig.toml -o myimage.img

Decoding an image:

pyfwimagebuilder decode -i myapp.img -c myconfig.toml -o myimage.txt

Additional command-line switches

  • -v LEVEL for selecting logging verbosity ('debug', 'info', 'warning', 'error', 'critical')

Changelog

[1.3.0] - July 2025

  • PYTOOLS-158, PYTOOLS-162, PYTOOLS-481: Added image binary decoding
  • PYTOOLS-479: Added file format support for Cortex-M0+
  • PYTOOLS-163: Added warning for data that is not within the device memory range
  • PYTOOLS-492: Fixed segment inclusion to not skip data that is in the valid range when there is data that is outside

[1.0.0] - December 2023

  • Public beta release

[0.0.1] - October 2023

  • Package planning

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.

pyfwimagebuilder-1.3.0.16-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file pyfwimagebuilder-1.3.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for pyfwimagebuilder-1.3.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a891a06a90d4348a2ecb42a5adad1a503e00bb14e12ba4bde8bd3104828b0082
MD5 2563abb913ccae3dc6770ed77309e002
BLAKE2b-256 405a2df3a74d7b37c6ab0c847ae04807298bd680dcc19d2ba911712b7d59c0ec

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