![Freescale Semiconductor ColdFire MCF5211 Скачать руководство пользователя страница 270](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619270.webp)
EzPort
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
16-4
Freescale Semiconductor
16.4.1
Command Descriptions
16.4.1.1
Write Enable
The Write Enable command sets the write enable register bit in the status register. The write enable bit
must be set for a Write Configuration Register (WRCR), Page Program (PP), Sector Erase (SE), or Bulk
Erase (BE) command to be accepted. The write enable register bit clears on reset, on a Write Disable
command, and at the completion of a write, program, or erase command.
This command should not be used if a write is already in progress.
16.4.1.2
Write Disable
The Write Disable command clears the write enable register bit in the status register.
This command should not be used if a write is already in progress.
16.4.1.3
Read Status Register
The Read Status Register command returns the contents of the EzPort Status register.
IPSBAR
Offset:
Access: read/write
7
6
5
4
3
2
1
0
R
FS
WEF
CRL
WEN
WIP
W
Reset:
0/1
1
1
Reset value reflects if flash security is enabled or disabled out of reset.
0
0
0
0
0
0
0
Figure 16-2. EzPort Status Register
Table 16-3. EzPort Status Register Field Description
Field
Descriptions
7
FS
Flash Security. Status flag that indicates if the flash memory is in secure mode. In secure mode, the following
commands are not accepted: Read (READ), Fast Read (FAST_READ), Page Program (PP), Sector Erase
(SE). Secure mode can be exited by performing a Bulk Erase (BE) command, which erases the entire contents
of the flash memory.
0 Flash is not in secure mode.
1 Flash is in secure mode.
6
WEF
Write Error Flag. Status flag that indicates if there has been an error with an erase or program instruction inside
the flash controller due to attempting to program or erase a protected sector, or if there is an error in the flash
memory after performing a Bulk Erase command. The flag clears after a Read Status Register (RDSR)
command.
0 No error on previous erase/program command.
1 Error on previous erase/program command.
Содержание ColdFire MCF5211
Страница 48: ...Overview MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 1 14 Freescale Semiconductor...
Страница 158: ...Reset Controller Module MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 9 10 Freescale Semiconductor...
Страница 218: ...Edge Port Module EPORT MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 13 8 Freescale Semiconductor...
Страница 234: ...DMA Controller Module MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 14 16 Freescale Semiconductor...
Страница 378: ...I2 C Interface MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 22 16 Freescale Semiconductor...
Страница 468: ...FlexCAN MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 25 30 Freescale Semiconductor...