378 Embedded Linux System Design and Development
on the load address and hence will require the load of text to RAM, defying
the purpose of XIP.
NOR flash only: There are two types of flash devices, NOR and NAND,
both employed widely in embedded systems. NOR flash allows for random
read access to all its sectors and is readable just like SRAM. NAND on the
other hand requires programming of some control registers to read from
its memory. Usually a flash driver is required to read contents from NAND
flash. When the program is being executed from flash it means the
instruction pointer or program counter is simply incremented to fetch the
next instruction pointing to the next word in flash memory. It will not be
possible to run driver code to fetch the next instruction. ...