Backup and restore Text/DB doesn't work with the SYSWR K 3x00 calls on the onboard Flash of the PCD3?
FAQ #100702
Before you can use the SYSWR K 3100 and K 3101 calls, the onboard Flash first has to be partitioned.
To enable the possibility of saving/restoring Text/DB's into/from the PCD3 onboard Flash memory with the SYSWR K 3100 and K 3101 calls, the onboard Flash first has to be partitioned. This partitioning is realized when you backup the user program to Flash.