56F8357 Technical Data, Rev. 8.0
42
Freescale Semiconductor
Preliminary
The device’s external memory interface (EMI) can operate much like the 56F80x family’s EMI, or it can
be operated in a mode similar to that used on other products in the 56800E family. Initially, CS0 and CS1
are configured as PS and DS, in a mode compatible with earlier 56800 devices.
Eighteen address lines are required to shadow the first 192K of internal program space when booting
externally for development purposes. Therefore, the entire complement of on-chip memory cannot be
accessed using a 16-bit 56800-compatible address bus. To address this situation, the EMI_MODE pin can
be used to configure four GPIO pins as Address[19:16] upon reset (Software reconfiguration of the highest
address lines [A20-23] is required if the full address range is to be used.)
The EMI_MODE pin also affects the reset vector address, as provided in
Table 4-4
.
Additional pins must
be configured as address or chip select signals to access addresses at P:$10 0000 and above.
Note:
Program RAM is NOT available on the 56F8157 device.
Table 4-4 Program Memory Map at Reset
Begin/End
Address
Mode 0 (MA = 0)
Mode 1
1
(MA = 1)
1. If Flash Security Mode is enabled, EXTBOOT Mode 1 cannot be used. See
Security Features,
Part 7
.
2. This mode provides maximum compatibility with 56F80x parts while operating externally.
3. “EMI_MODE = 0” when EMI_MODE pin is tied to ground at boot up.
4. “EMI_MODE = 1” when EMI_MODE pin is tied to V
DD
at boot up.
5. Not accessible in reset configuration, since the address is above P:$00 FFFF. The higher bit address/GPIO (and/or chip
selects) pins must be reconfigured before this external memory is accessible.
6. Booting from this external address allows prototyping of the internal Boot Flash.
7. Two independent program Flash blocks allow one to be programmed/erased while executing from another. Each block
must have its own mass erase.
Internal Boot
External Boot
Internal Boot
16-Bit External Address Bus
EMI_MODE = 0
2
,
3
16-Bit External Address Bus
EMI_MODE = 1
4
20-Bit External Address Bus
P:$1F FFFF
P:$10 0000
External Program Memory
5
External Program Memory
5
External Program Memory
5
P:$0F FFFF
P:$03 0000
External Program Memory
COP Reset Address = 02 0002
Boot Location = 02 0000
6
P:$02 FFFF
P:$02 F800
On-Chip Program RAM
4KB
P:$02 F7FF
P:$02 2000
Reserved
116KB
P:$02 1FFF
P:$02 0000
Boot Flash
16KB
COP Reset Address = 02 0002
Boot Location = 02 0000
Boot Flash
16KB
(Not Used for Boot in this Mode)
P:$01 FFFF
P:$01 0000
Internal Program Flash
7
128KB
Internal Program Flash
128KB
P:$00 FFFF
P:$00 0000
Internal Program Flash
7
128KB
External Program RAM
COP Reset Address = 00 0002
Boot Location = 00 0000