Skip to content

Releases: bessman/mcbootflash

v7.0.4

07 Oct 15:37
Compare
Choose a tag to compare

Bug fixes

  • Ensure all write commands are aligned with write_size (fix #21).

v7.0.3

26 Sep 08:57
Compare
Choose a tag to compare

Bug fixes

  • The final two words of the program memory range were not written (fix #19).

v7.0.1

23 Sep 20:03
Compare
Choose a tag to compare

Temporarily downgrade a dependency.

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.