Re: Harmony Driver "Flash" or "NVM" for a single 16 bit unsigned?
The PIC32MK device have a hardware EEPROM peripheral,
that is actually a separate section of Flash memory with hardware wear leveling.
It use 16 words of 33 bits each for storing each 32 bit word, in a round robin sequence.
When 16 write operations have been done, a Erase is performed by hardware with the next write,
but this will cause the operation to need up to 20 millisecond to complete.
See Datasheet chapter 6 and Table 36-19.
I do not know the Harmony code for handling this peripheral, or what it is called in the GUI.
You may make sure that the code generated use EECON, EEKEY, EEADR and EEDATA control registers.
Note that Program Flash memory is controlled by NVMCON register.