header image
Home arrow RTEMS lm32 Port
RTEMS Port to Lattice Mico32 (lm32)

Micro-Research has written a Lattice Mico32 port to the RTEMS operating system. The port has been committed to RTEMS CVS (which will become rtems-4.10). Currently a BSP (board support package) exists for custom hardware, but almost all of the code is shared and could be used as is on almost any Lattice Mico32 platform.

The following Mico System Builder (MSB) components have drivers and are supported:

  • Console on MSB UART (3.2), for now polled mode only
  • Clock using MSB Timer (3.0)
  • Timer using MSB Timer (3.0)
  • Networking driver for Lattice Tri-Speed Ethernet MAC

The MSB platform that the BSP has been built for consists of the following components:

Name Base Address Irq
Description
LM32
0x00000000
 lm32 and Debug port
ebr 0x04000000  32kbytes embedded RAM used for exceptions
ddr2_sdram
0x08000000
 64Mbytes DDR2 SDRAM
timer0
0x80002000
1
Timer for RTEMS clock
gpio
0x80004000
 General Purpose I/O (unused)
uart
0x80006000
0
Serial Port / Console
ts_mac_core
0x80008000
2
Tri-Speed Ethernet MAC
timer1
0x8000A0003
Timer for RTEMS timer (Timer tests)

To build the RTEMS port you need to build the tools and then build RTEMS and optionally build sample test applications.

Last Updated ( Tuesday, 09 December 2008 )