Name

CYGPKG_HAL_CORTEXM_LPC1XXX_MCB1700 — eCos Support for the MCB1700 Board

Description

The MCB1700 board contains a LPC1768 microcontroller. It has connectors for two UARTs, MicroSD, USB, CAN, a PHY connected to the on-chip MAC, JTAG and various other devices.

For typical eCos development, a GDB stub image is programmed into internal FLASH and the CPU boots directly into that. It is then possible to download and debug stand-alone and eCos applications via the gdb debugger using UART1. Alternatively test programs may be downloaded and debugged via a JTAG debugger attached to the JTAG socket. Avaliable RAM is limited to 64KiB, split into two disjoint 32KiB regions, so development for larger applications may also consist of programming them to flash and using JTAG to debug them from there.

This documentation describes platform-specific elements of the MCB1700 board support within eCos. The LPC1XXX variant HAL documentation covers various topics including HAL support common to LPC1XXX variants, and on-chip device support. This document complements the LPC1XXX documentation.

Supported Hardware

The LPC1768 has three on-chip memory regions. A RAM region of 32KiB is present at 0x0x10000000 and another is at 0x2007C000. A FLASH region is present at 0x00000000.

The LPC1XXX variant HAL includes support for the on-chip serial devices which are documented in the variant HAL. UART0 has reset and ISP control lines connected to the DTR and RTS lines. eCos uses UART1 for console and debug traffic, leaving UART0 free for ISP use.

The platform HAL contains configuration and definitions that allow the SPI and I²C device drivers to be used. This includes access to microSD cards via the on-board slot.

The on-chip Ethernet MAC and the DP83848 PHY are supported.

Tools

The board port is intended to work with GNU tools configured for an arm-eabi target. The original port was done using arm-eabi-gcc version 4.3.2, arm-eabi-gdb version 6.8, and binutils version 2.18.