Page 1 of 1

Store Rom PIC32MX

Posted: Tue Dec 03, 2019 1:02 pm
by Alkaline
Hi all

I am currently using an external eeprom to store data. The pic32mx allows you to save data by creating a precise area in the Flash.

Attached is an example microchip code for reading and writing in a specific area.

Is it possible to replicate it without using pointers or make a component?

PS:

Alternatively it is possible to emulate the eeprom

attached an example code

Re: Store Rom PIC32MX

Posted: Wed Dec 04, 2019 12:42 pm
by Benj
Hello,

How many individual values are you having to store? It's possible but the fact you have to erase a full page makes it a lot more tricky to do. I beleive Kersing created a similar component for PIC 16-bit devices which emulates EEPROM by using two full pages of flash and mirroring values between the pages.

It's something that's on my list but I have a big list at the moment :wink:

Re: Store Rom PIC32MX

Posted: Wed Dec 04, 2019 2:36 pm
by Alkaline
Hi Benj

For the moment I need to save 10 individual bytes.

Let's say a maximum of 32 individual bytes would be a good idea.

No hurry, since at the moment there is an external eeprom on the boards :D