Access port protection is not enabled (not protected)

This means that the UICR has not been previously configured to enable access port protection.

In some cases, you may assume that the entire flash has already been erased. If the flash is already erased and the device has never been programmed before, skip to Writing data.