Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Atmel/ATSAM3S1C/SMC/WPSR#0x0
SMC Write Protect Status Register
Write Protect Enable
Write Protect Violation Source
https://github.com/cmsis-svd/cmsis-svd-data