English
Language : 

SAM7S256_14 Datasheet, PDF (131/775 Pages) ATMEL Corporation – ARM-based Flash MCU
Table 20-7. Read Command (Continued)
Step Handshake Sequence MODE[3:0]
n+2
Write handshaking
ADDR2
n+3
Write handshaking
ADDR3
n+4
Read handshaking
DATA
n+5
Read handshaking
DATA
...
...
...
DATA[7:0]
Memory Address
Memory Address
*Memory Address++
*Memory Address++
...
20.2.5.2 Flash Write Command
This command is used to write the Flash contents.
The Flash memory plane is organized into several pages. Data to be written are stored in a load buffer that corre-
sponds to a Flash memory page. The load buffer is automatically flushed to the Flash:
• before access to any page other than the current one
• when a new command is validated (MODE = CMDE)
The Write Page command (WP) is optimized for consecutive writes. Write handshaking can be chained; an inter-
nal address buffer is automatically increased.
Table 20-8. 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]
WP or WPL or EWP or EWPL
Memory Address LSB
Memory Address
*Memory Address++
*Memory Address++
...
Memory Address LSB
Memory Address
*Memory Address++
*Memory Address++
...
Table 20-9. Write Command
Step Handshake Sequence
1
Write handshaking
2
Write handshaking
3
Write handshaking
4
Write handshaking
5
Write handshaking
6
Write handshaking
7
Write handshaking
MODE[3:0]
CMDE
ADDR0
ADDR1
ADDR2
ADDR3
DATA
DATA
DATA[7:0]
WP or WPL or EWP or EWPL
Memory Address LSB
Memory Address
Memory Address
Memory Address
*Memory Address++
*Memory Address++
SAM7S Series [DATASHEET]
6175M–ATARM–26-Oct-12
131