Skip to content

uf2conv.py : wrong assert in calculation of upper address of hex format #53

Closed

Description

@elfmimi

assert (upper & 0xffff) == 0

instead segment address must be multiplied by 16 and added to each subsequent data record address.

cf. https://en.wikipedia.org/wiki/Intel_HEX

Activity

  1. mmoskal commented on Jun 16, 2021

    @mmoskal
    Contributor

    Not sure what this assert was doing there. The code already multiplies by 16 (by doing << 4). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions