Performing a Verify fails after programming the device. Is this a programming issue?

If Run Main Project is selected, the device will automatically run immediately after programming. Therefore, if your code changes the flash memory, verification could fail. To prevent the code from running after programming, select Hold in Reset .