LPC2124 Bootloader

Started by phlpcmicro May 23, 2006
Hi all,

I wanted to confirm the following operation of the LPC2124 on bootup.

1. The current Philips LPC2124 bootloader is Philips proprietary
- Please confirm

2. Bootloader operation
- Can you please confirm my interpretation of the power on reset and
bootloader action (This is what I have interpreted from the LPC2124
User Manual)

-Bootloader lives in the highest part of flash memory (8k size)
-On Reset.... The bootloader is remapped to the top of a 2Gbyte boundary
-64 bytes of the bootloader vectors are mapped in to 0x00000000 to
0x0000003f (the original interupt vectors).
-The bootloader is always mapped in to the same location (top of
2Gbyte) so, execution of bootloader address is always fixed.
-LPC2124 executes the first instruction at 0x00000000 jumps to a
fixed address in the remapped 8k bootloader at the top of 2Gbyte.
-bootloader code executes and looks for a low on P0.14.
. ..... etc.... then follow the bootloader flow charts in the user
manuals.

3. Please confirm the bootloader s/w checks the status of P0.14 and is
not a fixed as a hardware test.
Does my executive summary of the start up of the boot loader seem
feasable?
Thanks.

Joe G





An Engineer's Guide to the LPC2100 Series

Hey,

1. yes, the bootloader is proprietary
2. everything happens exactly the way you describe it.
3. yes, reading P0.14 is done in software.

Regards,

Dominic

On Tuesday 23 May 2006 16:09, phlpcmicro wrote:
> Hi all,
>
> I wanted to confirm the following operation of the LPC2124 on bootup.
>
> 1. The current Philips LPC2124 bootloader is Philips proprietary
> - Please confirm
>
> 2. Bootloader operation
> - Can you please confirm my interpretation of the power on reset and
> bootloader action (This is what I have interpreted from the LPC2124
> User Manual)
>
> -Bootloader lives in the highest part of flash memory (8k size)
> -On Reset.... The bootloader is remapped to the top of a 2Gbyte boundary
> -64 bytes of the bootloader vectors are mapped in to 0x00000000 to
> 0x0000003f (the original interupt vectors).
> -The bootloader is always mapped in to the same location (top of
> 2Gbyte) so, execution of bootloader address is always fixed.
> -LPC2124 executes the first instruction at 0x00000000 jumps to a
> fixed address in the remapped 8k bootloader at the top of 2Gbyte.
> -bootloader code executes and looks for a low on P0.14.
> . ..... etc.... then follow the bootloader flow charts in the user
> manuals.
>
> 3. Please confirm the bootloader s/w checks the status of P0.14 and is
> not a fixed as a hardware test.
> Does my executive summary of the start up of the boot loader seem
> feasable?
> Thanks.
>
> Joe G
>