Can I use flash like eeprom? [SOLVED]
I'm trying to understand the PIC18F47K42 datasheet, but I find it really vague.
My problem is that the 1K of eeprom is grossly insufficient for my application.
I need one extra K. The data will very rarely need to change (recipes are stored,
16 bytes per recipe, up to 50 recipes) so I'm not worried about too many writes.
The 1K eeprom is already fully committed, with a large area for strings, another
large area for event logs, and smaller areas for software upgrade history and
for user settings.
In the past I worked mostly with 16-series PIC's, and to write to flash there was
a certain protocol.
For this device, I can't seem to find the flash write protocol, I find a page that
talks about "storage area flash", but says it is only 128 bytes, which is too little
for me; I need 1K. Another page in the manual shows a "Program Flash Memory
Partition", with funny looking blocks but without clear indication of address ranges.
I'm totally lost. Nowhere I find what's the flash block write size. Nothing. Help!
post edited by danw - 2019/04/24 19:26:02