Flash reprogramming erases EEPROM emulator pages

Discussions around product based on ARM Cortex M0+ core.

Moderator: nferre

pozz
Posts: 67
Joined: Fri Jun 13, 2014 2:55 pm

Flash reprogramming erases EEPROM emulator pages

Tue Jun 17, 2014 2:44 pm

I'm starting with SAM D20 microcontrollers and I just added the EEPROM emulator driver to a simple project. It works well, but after Flash reprogramming the pages dedicated to EEPROM emulation are erased.

Is it possible to change this behaviour? During developing, I have to reprogram Flash many times, but I don't want to loose user data saved in emulated EEPROM (Flash pages dedicated to EEPROM emulator).
pozz
Posts: 67
Joined: Fri Jun 13, 2014 2:55 pm

Re: Flash reprogramming erases EEPROM emulator pages

Tue Jun 17, 2014 5:27 pm

Thank you, I set "Erase only program area" and it works.

What is "Incremental programming"?

Return to “SAM D20 Cortex-M0+ MCU”

Who is online

Users browsing this forum: No registered users and 2 guests