English
Language : 

SAM7S256_14 Datasheet, PDF (134/775 Pages) ATMEL Corporation – ARM-based Flash MCU
• Power-off the chip
• Power-on the chip with TST = 0
• Assert Erase during a period of more than 220 ms
• Power-off the chip
Then it is possible o return to FFPI mode and check that Flash is erased.
20.2.5.7 SAM7S512 Select EFC Command
The commands WPx, EA, xLB, xFB are executed using the current EFC controller. The default EFC controller is
EFC0. The Select EFC command (SEFC) allows selection of the current EFC controller.
Table 20-16. Select EFC Command
Step Handshake Sequence
1
Write handshaking
MODE[3:0]
CMDE
2
Write handshaking
DATA
DATA[15:0]
SEFC
0 = Select EFC0
1 = Select EFC1
20.2.5.8 Memory Write Command
This command is used to perform a write access to any memory location.
The Memory Write command (WRAM) is optimized for consecutive writes. Write handshaking can be chained; an
internal address buffer is automatically increased.
Table 20-17. Write Command
Step Handshake Sequence
1
Write handshaking
2
Write handshaking
3
Write handshaking
4
Write handshaking
5
Write handshaking
...
...
n
Write handshaking
n+1
Write handshaking
n+2
Write handshaking
n+3
Write handshaking
...
...
MODE[3:0]
CMDE
ADDR0
ADDR1
DATA
DATA
...
ADDR0
ADDR1
DATA
DATA
...
DATA[15:0]
WRAM
Memory Address LSB
Memory Address
*Memory Address++
*Memory Address++
...
Memory Address LSB
Memory Address
*Memory Address++
*Memory Address++
...
Table 20-18. Write Command
Step Handshake Sequence
1
Write handshaking
2
Write handshaking
3
Write handshaking
4
Write handshaking
5
Write handshaking
MODE[3:0]
CMDE
ADDR0
ADDR1
ADDR2
ADDR3
DATA[7:0]
WRAM
Memory Address LSB
Memory Address
Memory Address
Memory Address
SAM7S Series [DATASHEET]
6175M–ATARM–26-Oct-12
134