i will try to adapt SDU library to run update within internal flash (yes with about 50% of storage lost).
but i also need EEPROM emulation.
for example:
SDU (or IFU=internal flash update) is placed on 0x2000+
sketch is placed on 0x6000+
EEPROM is on last x flash bytes (lets say 8192 bytes)
1fst half of the available area between 0x6000 and EEPROM is for sketch and a second for new FW.
hi @cmaglie, i tried to understand were the EEPROM-data is stored, but i found an address pointer to an array only: https://github.com/cmaglie/FlashStorage/blob/master/src/FlashStorage.cpp#L29 is this dynamic and depends on sketch size? can i define my own const flash-address?
i will try to adapt SDU library to run update within internal flash (yes with about 50% of storage lost). but i also need EEPROM emulation. for example: SDU (or IFU=internal flash update) is placed on 0x2000+ sketch is placed on 0x6000+ EEPROM is on last x flash bytes (lets say 8192 bytes) 1fst half of the available area between 0x6000 and EEPROM is for sketch and a second for new FW.
that's like in a datasheet: