PDS is enabled in the project files by default. The ENABLE_PDS
macro is used for enabling and disabling PDS module. RWW section of
SAM R34 SiP is used for storing PDS data.
Perform the following steps to enable RWW section in SAM R34:
conf_nvm.h
in configuration
folder.USER_WORD_0.NVMCTRL_EEPROM_SIZE
setting needs
to be updated based on the EEPROM_SIZE macro.EEPROM [2:0] | Rows Allocated to EEPROM | EEPROM Size in Bytes |
---|---|---|
7 | None | 0 |
6 | 1 | 256 |
5 | 2 | 512 |
4 | 4 | 1024 |
3 | 8 | 2048 |
2 | 16 | 4096 |
1 | 32 | 8192 |
0 | 64 | 16384 |
Tools > Device
Programming > Fuses
and change the
USER_WORD_0.NVMCTRL_EEPROM_SIZE
fuse value to one of the above
table values based on the EEPROM_SIZE configured in the project.