Skip to content

Can the base address in FLASH be changed? #60

@716DS

Description

@716DS

Hi, I've been able to use this flash storage library for a SAMD21 µproc, but, it seems to use the area of flash right after the program storage.

Is there some way to make it so it use the upper part of FLASH, like pass a base address to write to?

I'm issuing f/w updates via a USB UF2 loader, and the loader only erases/write FLASH that the new f/w uses. If I've got only 100K of program code, it will only write the bottom 100K (after the bootloader) and leave the upper area alone.

This way, app settings can be retained through a f/w update using the .UF2 bootloader.

The FLASH emulator provided by Microchip does this, but DAMN!! ...it seems as though everything is very difficult to do using Microchip Studio, even the most mundane tasks!!

Thanks for you time!

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