We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Matteo Negri
Last Updated: 2022-05-19
Package Version: 1.0.0.0
Category: Storage
Downloaded: 100 times
Not followed.
License: MIT license
I wrote this example to show on EASYPIC FUSION V7 with MCU PIC32MZ ETH CARD (PIC32MZ2048ECH144), the theory of using Program Flash as a typical PIC18F EEPROM.
Important note: in the example the data in memory is extracted from the flash and stored in a variable "NVM1" or "NVM2" of type "int". If you want to extract 8-bit data, substitute the command:
NVM1 = *(int*)(0x9D1FFFE0);
with
NVM1 = *(char*)(0x9D1FFFE0);
Do you want to subscribe in order to receive notifications regarding "PIC32MZ - FLASH LIKE A EEPROM" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "PIC32MZ - FLASH LIKE A EEPROM" changes.
Do you want to report abuse regarding "PIC32MZ - FLASH LIKE A EEPROM".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1649835910_pic32mz___flash__mikroc_pic32.zip [473.87KB] | mikroC PRO for PIC32 |
|