
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 17
9/7/2007
w2 0x2 0x4700
w4 0x4 0xeafffffe
setpc 0
g
h
loadbin u-boot.bin, 81EC0000
loadbin rootfs.ubt, 80020000
loadbin kernel.ubt, 80620000
loadbin uboot.ubt, 80800000
setpc 81EC0000
NOTE: The “NXP Demo Setup” shortcut ( ..\Software\Binaries\Programmed_Images)
expects JLink.exe to be located at "C:\Program
Files\SEGGER\JLinkARM_V356b\JLink.exe". If this is not the case on your system,
please modify the “NXP Demo Setup” shortcut.
NOTE: All .bin and .ubt files, except rootfs.ubt, should transfer to the LPC3180’s
SDRAM within a few minutes. The rootfs.ubt file may take up to 5 minutes to finish
downloading depending on its size.
To run u-boot for NAND flash programming, it is necessary to enter the following
commands into a J-Link Commander window. A new J-Link Commander window must
be opened if the above commands were not typed in manually.
setpc 81EC0000
g
After performing the above command, you will only have a few seconds to react and
enter U-Boot command prompt mode.
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
Содержание LP3180
Страница 39: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 39 9 7 2007...
Страница 40: ......