Change flash size from 1MB to 4MB and recover EEPROM content #7985
Replies: 2 comments 5 replies
-
For next times you can use FS and network filesystems to access to your data (ftp, dav, browse with http). |
Beta Was this translation helpful? Give feedback.
-
Generally around 30% => 370KB
There should be some solutions. One which is not better than another one:
If your internal data are valuable, maybe an easy-access-to-data network facility will be useful sometimes (= what you are lacking now). BTW, SPIFFS is deprecated. Welcome LittleFS. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I just recently started to dig into a project of a former co-worker and wanted to update the arduinoCore to 2.7.4.
Module used is ESP12s with 4MB flash, but currently firmware is builded with 1MB flash (eagle.flash1mo.ld)
Important is that the devices need to be updateable via OTA.
Currently a very old core is used 2.4.1, thats also why I want to update. With the ArduinoCore 2.7.4 the acutal firmware size is 525kB-->OTA will not be possible anymore.
Because of this I need to change the flash Configuration to 4MB. As far as I have seen the location of the EEPROM will change with the new configuration.
1MB OLD Flash Sector : (0x402FB000 - 0x40200000) / SPI_FLASH_SEC_SIZE
4MB Flash Sector: (0x405FB000 - 0x40200000) / SPI_FLASH_SEC_SI
I would need to:
I tried to use what was described in "EEPROM location was changed #6531" to recover Data but it didn't work.
Anybody has an suggestion how to make it possible?
Beta Was this translation helpful? Give feedback.
All reactions