Skip to content

Intel Hex to Bin OverflowError #1

@paretech

Description

@paretech

Certain compiled versions of firmware may have Intel hex segments with less than 32 bytes in the segment. Such cases causes problems when the library attempts to determine the password from the firmware. For example, "OverflowError: unsigned byte integer is greater than maximum".

The attached file is the same blink example compiled with msp430-gcc-full-windows-installer-6.1.0.0. This version can be used to reproduce the issue.
blink.hex.txt

As a workaround do not try to determine password in line 450 of bsl.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions