RTEMS  5.1
Files | Data Structures | Macros | Functions

Boot support. More...

Files

file  boot.h
 Boot support API.
 
file  boot.c
 Boot support implementation.
 

Data Structures

union  lpc32xx_boot_block
 

Macros

#define LPC32XX_BOOT_BLOCK_0   0
 
#define LPC32XX_BOOT_BLOCK_1   1
 
#define LPC32XX_BOOT_ICR_SP_3AC_8IF   0xf0
 
#define LPC32XX_BOOT_ICR_SP_4AC_8IF   0xd2
 
#define LPC32XX_BOOT_ICR_LP_4AC_8IF   0xb4
 
#define LPC32XX_BOOT_ICR_LP_5AC_8IF   0x96
 

Functions

void lpc32xx_setup_boot_block (lpc32xx_boot_block *boot_block, uint8_t icr, uint8_t page_count)
 
void lpc32xx_set_boot_block_bad (lpc32xx_boot_block *boot_block)
 

Detailed Description

Boot support.

The NXP internal boot program shall be the "stage-0 program".

The boot program within the first page of the first or second block shall be "stage-1 program". It will be invoked by the stage-0 program from NXP.

The program loaded by the stage-1 program will be the "stage-2 program" or the "boot loader".

The program loaded by the stage-2 program will be the "stage-3 program" or the "application".

The stage-1 program image must have a format specified by NXP.

The stage-2 and stage-3 program images may have any format.