Hello guys. I'm programming an Arduino DUE and I have to write and read on SAM3X8E flash memory through Arduino IDE. For instance, I tried to config EEFC_FCR register(from Enhanced Embedded Flash Controller) as follows:
EEFC_FCR = 0x01;
However, the IDE returned the following message:
"'EEFC_FCR' was not declared in this scope
In order to solve this problem I tried these solutions, although without success:
- Use EEPROM.h library instead of writing/reading directly on registers, but that library is not compatible with Arduino DUE;
- Add Arduino DUE board in Arduino IDE once again.
Can you help me? Thank you.