ea_lpc2478

This is an old revision of the document!


Embedded Artists LPC2478 evaluation board

  • ARM7TDMI with 512KB Flash and 96KB RAM
  • External Flash: 128MB NAND, 4MB NOR
  • External data memory: 32MB SDRAM
  • 256Kbit I2C E2PROM
  • 32.768kH RTC

Embedded Artists provides patches for u-boot 1.1.6. This is a very old u-boot but we have to use it as our board is not supported on the main u-boot development line. The version of u-boot that we are using, 1.1.6, does not seem to be compilable under Codesourcery g++. A non-EABI tool is needed, like bare metal, therefore crosstool-ng is needed.

# u-boot.bin is a raw binary image
# u-boot is an image in ELF binary format, never used for booting
# u-boot.srec is in Motorola S-Record format
# convert binary to hex
arm-unknown-elf-objcopy -I binary -O ihex u-boot.bin u-boot.hex

jumper pin P2.10

do not jumper pin RST

powercycle the board

wait for USB serial device to be seen

run sudo lsusb until you see the device: “Future Technology Devices International…”

figure out which tty port it is: should be /dev/ttyUSB0, but could be /dev/tty/USBx

Make sure your user has rw access to it

compile the utility:

gcc -o lpcisp lpc21isp_148x.c

build a u-boot.hex

cd u-boot
make distclean
make LPC2478OEM_Board_32bit_config
make
arm-linux-objcopy -I binary -O ihex u-boot.bin u-boot.hex

Run the utility

./lpcisp u-boot.hex /dev/ttyUSB0 115200 14746

The download should begin immediately and take a minute or so. We can connect to the serial port terminal with minicom, using these settings: 115200 8N1 no flow control.

  • ea_lpc2478.1316873886.txt.gz
  • Last modified: 15 years ago
  • by admin