A separate EEPROM is only way to ensure it can't be erased/altered no matter what. The RP2040 ROM bootloader has no concept of partitions and a UF2 can overwrite anything in flash. If the UF2 is crafted to avoid the data area then the it'll survive but there is nothing explicitly blocking access.I'm after a way to save some static meta-data that shouldn't get erased no matter what, i..e full erase, uf2 update, et'all. what would be the best approach?
How much protection do you actually need? The flash chip itself has bank protection features but a program could flip the status bit to reenable write access again.
Statistics: Posted by trejan — Wed Jun 12, 2024 9:51 pm