I'm using PIC18F67K40 microcontroller in my project. It has 1kB EEPROM memory and 128kB program memory (flash).
For now I'm using EEPROM to store my settings.
Application is "growing" and I realized that at some point 1kB will be not enough. Some of settings are arrays of pretty big structures.
I realize, that flash memory has 100k 10k write cycles and that I can buy external EEPROM, but I don't want to change anything in hardware and memory in this product will never reach 2k writes for sure.
My quesion is:
How can I switch from EEPROM storage to flash storage?
- Do I have to recalculate some CRC after program memory changes?
- Do I have to define somewhere in project settings, that I'm using some flash memory for storage?
- Is there anything what I have to do in order to use flash memory like this?