I programmed a Flash Program example on ATSAME70Q21 chipset using SAM-ICE tool .
After running the example program , it set a Security Bit on flash storage .
To run a Chip Erase ,
Trying to connect a chip with a SAM-ICE debugger , it can not detect device Signature .
it displays a Error Message Popups .
So I can not execute Chip Erase Command ..
Can you help me to run Chip Erase to ATSAME70Q21 using a SAM-ICE ?
Thanks
=========== Below is Log ====================
-- Flash Program Example --
-- SAME70-XPLD --
-- Compiled: Jul 7 2021 13:27:22 --
-I- Unlocking test page: 0x005ff800
-I- Writing test page with walking bit pattern
-- Flash Program Example --
-- SAME70-XPLD --
-- Compiled: Jul 7 2021 13:27:22 --
-I- Unlocking test page: 0x005ff800
-I- Writing test page with walking bit pattern
-I- Checking page contents ................................................................................................................................OK
-I- Locking test page
-I- Try to program the locked page ...
-I- The page to be programmed belongs to locked region. Error 4
-I- Please open Segger's JMem program
-I- Read memory at address 0x005ff800 to check contents
-I- Press any key to continue...
-I- Good job!
-I- Now set the security bit
-I- Press any key to continue to see what happened...
-I- Setting security bit
-I- All tests done