XMC-6VLX
USER’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 42 - http://www.acromag.com
- 42 -
www.acromag.com
Flash Control (Write Only) – (BAR0 + 0x300204)
Table 3.26:
Flash Control
Register
Note Block Unlock , PBI Flash
Reset, and Clear Flash Status
can not be simultaneously set
in this register. Only one
operation can be selected at a
time.
A Flash Control command is executed by writing this register at base address
plus 0x300204. Write to Flash Control register at 0x300204 with bit-0 set to
logic ‘1’ will initiate a Block Unlock sequence to the Flash device.
The
address of the block that is unlocked must first be written to the Flash
Address register at 0x300218.
Bit-1 of this register is used to initiate a reset of the BPI flash chip. A Flash
Reset command is executed by writing logic 1 to bit-1 of this register at base
address plus 0x300204. Writing the flash reset command resets the chip to
reading data mode.
Bit-2 of this register is used to clear the Flash Status of the BPI or Platform
flash chip. A Clear Flash Status command is executed by writing logic 1 to
bit-2 of this register at base address plus 0x300204.
Bit-3 of this register is used to set Platform Flash Asynchronous Mode.
Write to Flash Control register at 0x300204 with bit-3 set to logic ‘1’ will
initiate a set configuration sequence to the Flash device.
The flash address
must first be written to the Flash Address register at 0x300218 with data
value 0x8000 to select asynchronous mode.
Bit(s)
Flash Control Register Description
0
Block Unlock
0
Write logic low has no effect.
1
Write logic high to initiate Block Unlock
1
BPI Flash Reset:
0
Write logic low has no effect.
1
Write logic high to initiate BPI flash
2
Clear Flash Status
0
Write logic low has no effect.
1
Write logic high to initiate Clear Flash Status
3
Platform Flash Asynchronous Mode
0
Write logic low has no effect.
1
Write logic high to select Asynchronous Mode
4-31
Reserved
0
Write logic low has no effect
1
Write logic high has no effect
Flash Read (Read Only) – (BAR0 + 0x300208)
A Flash Read command is executed by reading this register at base address
plus 0x300208. Prior to issue of a Flash Read the Flash Address registers
must be set with the desired address to be read. See the Flash Address
registers at base address plus 0x300218.