Skip to content

Releases: bessman/mcbootflash

v7.0.0

23 Sep 19:44
Compare
Choose a tag to compare

API changes

  • get_response removed from public API.

Bug fixes

  • Don't checksum if bootloader doesn't support it (fix #16).

Misc

  • HEX file parser changed from intelhex to bincopy.
  • Improved error handling and debug logging.

v6.1.0

15 Sep 21:46
Compare
Choose a tag to compare

API changes

  • Added function mcbootflash.protocol.get_response to read response packets from serial
    in a more robust way.
  • Packet.from_serial is deprecated in favor of get_response.

Bug fixes

  • Fixed an off-by-one error which skipped the final word within program memory range.
  • Added a workaround for a bug in the bootloader where checksum calculation would fail
    close to the upper end of program memory range (fix #13).

v6.0.0

13 Sep 15:51
Compare
Choose a tag to compare

Dependency changes:

  • progressbar2 is now optional (fix #11).

API changes:

  • The signature of mcbootflash.Bootloader.flash has changed. The quiet option is
    removed, and a new progress_callback option is added.

CLI changes:

  • Added --version option to display mcbootflash version string.
  • If progressbar2 is not installed, the script falls back on displaying the progress
    as just a percentage.

Bug fixes:

  • All data within program memory range is now flashed. Previously, data which was part
    of a contiguous block of data was ignored if any part of the block did not fit within
    the program memory range (fix #9).

v5.1.2b1

09 Sep 21:04
Compare
Choose a tag to compare
v5.1.2b1 Pre-release
Pre-release

Pre-release. Potential fix for #9.

Bug fix:

  • Flash all data within program memory range

v5.1.1

26 Apr 11:14
Compare
Choose a tag to compare

What's Changed

Bug fixes:

  • Increase timeout during flash erase (#6)

v5.1.0

13 Jan 09:36
Compare
Choose a tag to compare

Misc

  • Re-add some logging messages that were removed by mistake
  • Fix some minor docstring mistakes
  • Improve error message when receiving unexpected data
  • Add build status badge

Version 5.0.0

29 Nov 19:48
54b7c6b
Compare
Choose a tag to compare

API changes:

  • Simplify exceptions; Rename McbootflashException to
    BootloaderError and remove all derived exceptions except
    those that directly correspond to an error code.
  • Simplify protocol names (modules are not namespaces).
  • Rename BootloaderConnection to Bootloader and reduce code
    duplication.

Misc:

  • Use pytest-reserial for testing.

Version 4.1.0

19 Jul 18:50
Compare
Choose a tag to compare

Most notable addition is documentation. Couple of minor API changes, hence major version bump.

API changes:

  • BootloaderConnection.flash will always raise an exception if flashing did not succeed.
  • 'quiet' is now a parameter of BootloaderConnection.flash instead of BootloaderConnection itself.

Documentation

  • Added documentation.
  • Added readthedocs.

Misc:

  • Added codacy badges.

rtdtest

20 Jul 13:13
Compare
Choose a tag to compare
rtdtest Pre-release
Pre-release

Test, do not use.

Version 3.0.0

11 Jul 18:59
Compare
Choose a tag to compare

API is now stable.

Features:

  • By default, a progress bar is now shown while flashing. Suppress with --quiet flag.
  • Command line arguments can now be overriden by applications using mcbootflash as a library. See the get_parser function for more information.

API changes:

  • flash.py -> flashing.py
  • BootResponseCode --> BootResponse
  • FLASH_UNLOCK_KEY removed from API.
  • BootloaderConnection.{quiet, hexfile} removed from API.
  • BootloaderConnection.erase_flash added to API.
  • Exceptions have changed significantly. See error.py for more information.

Under the hood:

  • Major testing overhaul: Tests now use recorded serial traffic to verify behavior.
  • Switch to flit build system.
  • Enforce alphabetically sorted imports with isort.
  • Enable docstring linting.
  • Application code now lives in src/
  • Lots of changes to logging messages.