Programming Flash via IAP in our code (Arduino Due)

cuijinbird:
...then I deleted the old one...

It's much more likely that a helpful moderator deleted your other post. But you are welcome to take credit. It's no skin off my nose.