TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139245 times)
  2. FAT32 Library (71743 times)
  3. Network Ethernet Library (57115 times)
  4. USB Device Library (47428 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28073 times)
  9. PID Library (26885 times)
  10. microSD click (26198 times)
Libstock prefers package manager

Package Manager

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]

< Back
Example

PIC32MZ - FLASH LIKE A EEPROM

Rating:

0

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);

No Abuse Reported

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".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog currently doesn't exist!

ALSO FROM THIS AUTHOR

Editable GLCD clock with RTC2 board and EASY PIC6

0

This firmware allows the user to create a clock on GLCD (date/week/time) settable through the touch screen.

[Learn More]

PIC18F87K22 - PROGRAMMING FROM UART INTERNAL RTCC AND USE

0

A simple program to use the PIC18F87K22 internal RTCC, programming the parameters (hours, minutes, seconds, weekday, day, month and year) from UART, with a simple 14 characters string.

[Learn More]