EmbeddedRelated.com
Forums

Why is the boot block re-mapped in LPC2148

Started by Abhishek Meharwade September 13, 2007
Hi All,
I am new to ARM processors and I am using LPC2148 processor.
My question is why is the boot block memory re-mapped in LPC2148.It is mentioned in the memory map of the manual.What purpose does this re-mapping serve?

Regards,
Abhishek

---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

An Engineer's Guide to the LPC2100 Series

--- In l..., Abhishek Meharwade
wrote:
>
> Hi All,
> I am new to ARM processors and I am using LPC2148 processor.
> My question is why is the boot block memory re-mapped in
LPC2148.It is mentioned in the memory map of the manual.What purpose
does this re-mapping serve?
>
>
>
> Regards,
> Abhishek
>
The total amount of flash on the 2148 is 512k and the upper 12k starts
at 0x0007D000 so this is where the boot block is physically located.
It is remapped to the upper end of 2GB code space where there is no
real flash. One would expect devices with smaller flash memories to
have a different physical location and, indeed, the 2106 has the boot
block at physical address 0x0001E000 (an 8k boot block).

However, the idea behind remapping to the highest possible address is
that the logical address range is common to all flavors of devices.
The boot block logical (remapped) addresses are the same whether you
have 64k, 128k, 256k or 512k of flash.

Richard