eCos Support for the MPC5554DEMO Board — Overview
This document covers the Freescale MPC5554DEMO and MPC5554EVB boards. These boards are essentially identical and will be referred to collectively as the MPC5554DEMO throughout this document. The board contains an MPC5554 microprocessor, 512KB of RAM and external connections for one serial channel. There is also 2MB of on-chip flash memory and 64KB of internal SRAM.
For typical eCos development, a RedBoot image is programmed into the on-chip flash memory, and the board will boot this image from reset. RedBoot provides gdb stub functionality so it is then possible to download and debug stand-alone and eCos applications via the gdb debugger using the serial line.
The on-chip flash memory consists of 20 blocks in a variety of sizes between 16KiB and 128KiB, occupying 2MB. In a typical setup, RedBoot is programmed into flash at 0x20000 and occupies the next 256KiB. The topmost block is used to manage the flash and hold RedBoot fconfig values. The first 128KiB and blocks between 0x00060000 and 0x001DFFFF may be used by application code.
There is a serial driver
CYGPKG_IO_SERIAL_POWERPC_ESCI which supports both
the eSCI based on-chip serial devices. Only eSCI device A is actually
brought out to an external connector. This device can be used by
RedBoot for communication with the host. The serial driver package is
loaded automatically when configuring for the Mpc5554demo target.
eCos manages the on-chip interrupt controller. The architecture-defined decrementer is used to implement the eCos system clock and the microsecond delay function. Other on-chip devices (Caches, PIO, UARTs) are initialized only as far as is necessary for eCos to run. Other devices (CAN, eTPU, eMIOS etc.) are not touched.
The MPC5554DEMO port is intended to work with GNU tools configured for a powerpc-eabi target. The original port was undertaken using powerpc-eabi-gcc version 3.3.3, powerpc-eabi-gdb version 6.1, and binutils version 2.14.
|2022-03-29||eCosPro Non-Commercial Public License|