Download Embedded LPC3250 User`s guide
Transcript
LPC3250 Developer’s Kit v2 - User’s Guide 5.4.1 Page 51 Kickstart Loader By default the Embedded Artists LPC3250 OEM Board is programmed with the kickstart loader in block 0 of the NAND flash. The responsibility of this loader is to load an application stored in block 1 and onwards of the NAND flash. The kickstart loader will load the application into internal RAM (IRAM) at address 0x0. The kickstart loader is available in the bundle with sample applications provided by Embedded Artists (examples/kickstart). The application nand_prog (examples/nand_prog) is used to program the NAND flash with the kickstart loader as well as a second application, for example, the stage 1 loader. 5.4.2 Stage 1 Loader By default the Embedded Artists LPC3250 OEM Board is programmed with the stage 1 loader (s1l) in block 1 of the NAND flash. This application will be loaded by the kickstart loader when the LPC3250 OEM Board powers up, see figure below. Figure 28 – S1L loader up and running The S1L loader will initialize the board, such as clocks and external memory and then start a console where you can give input commands to the loader. S1L offers the following booting options. - MMC/SD card - UART5 - NAND Flash Load application from MMC/SD card First make sure you have stored the srec file on the FAT formatted MMC/SD card. Please note that the S1L loader doesn’t support long file names. 1. Load srec file to memory ea3250> load blk timer~1.sre srec 2. Start the application using the exec command ea3250> exec If the application has been built and linked to execute from external memory you could also use the binary file when loading the application. This is, for example, the case for the u-boot bootloader. 1. Load the binary file with type set to raw. Copyright 2012 © Embedded Artists AB