![Infineon Technologies XC2200 User Manual Download Page 90](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439090.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Memory Organization
User’s Manual
3-29
V2.1, 2008-08
MemoryX2K, V1.3
The high order bits XX should address the target page. The IMB Core takes always the
page address that was used by the last “
” command.
When the 128-bit block assembly register of the IMB Core is filled completely after 8
“
” commands the IMB Core calculates the 9 ECC bits and transfers the
block into the assembly buffer of the flash module. After that it sets the write pointer of
the block assembly register back to zero. The following 8 “
” commands
fill again the block. After all 8 blocks are filled the “
” command can be
used to trigger the program process that transfers the assembly buffer content into the
flash array.
While the IMB Core transfers the completed block assembly register to the flash module
it can not accept new data for a few cycles. A “
” command arriving
during this time is stalled by the IMB Core.
If “
” is called before all blocks of the assembly buffer have received new
data then the remaining bits are cleared.
If more than 8 times 8 commands are used the additional data is lost. The overflow
condition is indicated by the sequence error flag, but the execution of a following
“
” command is not suppressed (the page mode is not aborted).
When a “
” command is received and the flash is not in page mode, a
sequence error is reported in IMB_FSR with SQER flag. In case of a new “
” command during page mode, or in case of an
Application Reset, the write data in the assembly buffer is lost. The current page mode
is aborted and in case of a new “
” command entered again for the new
address.
Program Page
Arguments: –
Definition:
MOV XXAA
H
, XXA0
H
MOV XX5A
H
, XXAA
H
Timing: 2-cycle command that sets “BUSY” for the whole programming duration.
Description: The assembly buffer of the flash module is programmed into the flash array.
If the last block of data was not filled completely this command finalizes its ECC
calculation and copies its data into the assembly buffer before it starts the program
process. The selection of the flash module and the page to be programmed depends on
the page address used by the last “
” command. The user software
should always address the targeted page.
The programming process is autonomously performed by the selected flash module. The
CPU is not occupied and can continue with its application.