Hi,
I have a question regarding the SAM3X boot strategies.
The datasheet says "Asserting ERASE clears GPNVM bit 1 and thus selects the boot from the ROM by default".
But when I erase the flash with JLink tool, the GPNVM bit 1 is not cleared.
Furthermore if I clear the GPNVM bit 1 manually and then erase the flash, the GPNVM bit 1 is set !
With JLink tool,
read GPNVM bits : w4 0x400E0A04, 0x5A00000D
read result : mem8 0x400E0A0C, 1
-> GPNVM bit 1 is 1
reset GPNVM bit 1 : w4 0x400E0A04, 0x5A00010C
read GPNVM bits : w4 0x400E0A04, 0x5A00000D
read result : mem8 0x400E0A0C, 1
-> GPNVM bit 1 is 0
erase : erase 0x00080000 0x000BFFFF
read GPNVM bits : w4 0x400E0A04, 0x5A00000D
read result : mem8 0x400E0A0C, 1
-> GPNVM bit 1 is 1 (should be 0)
Here is the datasheet saying ERASE clears the GPNVM bit 1.
Any help is appreciated to understand this behavior.
Thanks.