Datasheet

ADuC7033
Rev. B | Page 24 of 140
Remap Operation
When a reset occurs on the ADuC7033, execution starts
automatically in the factory programmed internal configuration
code. This so-called kernel is hidden and cannot be accessed by
user code. If the ADuC7033 is in normal mode, it executes the
power-on configuration routine of the kernel and then jumps to
the reset vector, Address 0x00000000, to execute the user’s reset
exception routine. Because the Flash/EE memory is mirrored at
the bottom of the memory array at reset, the reset routine must
always be written in Flash/EE memory.
The remap command must be executed from the absolute
Flash/EE memory address, and not from the mirrored,
remapped segment of memory because this may be replaced by
SRAM. If a remap operation is executed while operating code
from the mirrored location, prefetch/data aborts can occur or
the user can observe abnormal program operation.
Any kind of reset logically remaps the Flash/EE memory to the
bottom of the memory array.
SYSMAP0 Register
Name: SYSMAP0
Address: 0xFFFF0220
Default Value: Updated by the kernel
Access: Read/write access
Function: This 8-bit register allows user code to remap
either RAM or Flash/EE memory space into
the bottom of the ARM memory space starting
at Address 0x00000000.
Table 10. SYSMAP0 MMR Bit Designations
Bit Description
7 to 1
Reserved. These bits are reserved and should
be written as 0 by user code.
0 Remap Bit.
Set by the user to remap the SRAM to
0x00000000.
Cleared automatically after reset to remap the
Flash/EE memory to 0x00000000.