
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 14
10/1/2007
6.2
Writing SDRAM to NAND Flash
After the following u-boot banner appears, press any key to get to the command prompt.
Using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 2
After reaching the
LPC3180 #
prompt, the following commands should be executed
sequentially:
LPC3180 # nand erase 00020000 00A00000
LPC3180 # nand write 80020000 00020000 500000
LPC3180 # nand write 80620000 00620000 160000
LPC3180 # nand write 80800000 00800000 040000
The first command erases the entire portion of NAND memory to which the images will
be written. The second command writes the rootfs.ubt image to NAND and may take
several minutes to complete. The third command writes the kernel.ubt image to NAND
and the fourth command writes the uboot.ubt image to NAND.
If it is desirable to only erase a particular image, the following commands are useful:
LPC3180 # nand erase 00020000 500000
(filesystem)
LPC3180 # nand erase 00620000 160000
(kernel)
LPC3180 # nand erase 00800000 040000
(u-boot)
All commands listed here are also provided within the “nand prg commands.txt” file in
the distribution (..\Software\Programmed_Images).
Following the successful execution of the above commands, the board must be reset by
pressing SW3 or power cycling the board.
Summary of Contents for LPC3180
Page 32: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 32 10 1 2007...
Page 33: ......