Skip to content

-verify fails depending on SYSTEMREMAP register #18

Description

@redfern314

I'm flashing an LPC1769 using lpc21isp. The following error comes up consistently when using -verify:

Sector 0: ..............................................................................................Wrong answer on Compare-Command
COMPARE_ERROR: Source and destination data not equal.

The flashed code works fine. The error is presumably due to the fact that for certain values of the SYSTEMREMAP register, the bottom 512 bytes (0x000 - 0x200) are re-mapped for the boot ROM or RAM. http://docs.lpcware.com/lpc800um/RegisterMaps/syscon/r-SYSMEMREMAP.html

Not sure which chips this affects, but it might be prudent to avoid comparing the first 512 bytes, instead of the first 64 bytes, for relevant chips.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions