lpc177x_8x u-boot deployment

Document created by jorge_plascencia Employee on Apr 25, 2016Last modified by jorge_plascencia Employee on Apr 27, 2016
Version 3Show Document
  • View in full screen mode

This procedure explains how to install and update u-boot on the EA1788 board. The install procedure requires 'Flash Magic' to place the initial image in internal FLASH, but once the image is in FLASH, it can be updated via u-boot itself.

1)Get the Flash Magic software at http://www.flashmagictool.com/ and install it.

2)Connect the serial UART on the EA1788 board to your Windows PC with the installed Flash Magic software.

3)On the EA1788 board, hold down the SW6 button while resetting the board to put it in ISP mode.

4)Download the program (u-boot-lpc.hex) via Flash Magic (see configuration below). It takes about 3 minutes to download.

5)Close Flash Magic and open a terminal program )ie, Teraterm) and configure it for 115.2K8N1 on the EA1788's connected UART.

6)Reset the board and you should get the UART prompt.
U-Boot 2011.06 (Aug 16 2011 - 16:47:50)

NXP LPC1788 Cortex-M3
DRAM:  32 MiB
Flash: 512 KiB
NAND:  128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
In:    serial
Out:   serial
Err:   serial
uboot>

7)To update u-boot, download the u-boot-lpc.bin program via serial port or network and update with the procedure below. The procedure below uses tftp.
Err:   serial
uboot> dhcp
BOOTP broadcast 1
DHCP client bound to address 10.1.10.14
TFTP from server 10.1.10.15; our IP address is 10.1.10.14
Filename 'u-boot-lpc.bin'.
Load address: 0xa0100000
Loading: #########################
done
Bytes transferred = 125580 (1ea8c hex)
uboot> erase bank 1
Erase Flash Bank # 1 Erasing 30 sectors starting at sector  0.
uboot> cp.b 0xa0100000 0x0 0x1f000
Copy to Flash... Writing 126976 bytes from a0100000 from 0, please be patient...
done
uboot> cmreset
resetting ...

U-Boot 2011.06 (Aug 16 2011 - 15:38:33)

NXP LPC1788 Cortex-M3
DRAM:  32 MiB
Flash: 512 KiB
NAND:  128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
In:    serial
Out:   serial
Err:   serial
uboot>

flashmagic_uboot_1788.jpg

Attachments

    Outcomes