ARM Cortex MX

From ErikaWiki

Revision as of 13:20, 25 January 2012 by Outlawch (Talk | contribs)
Jump to: navigation, search

Contents

ARM Cortex MX support

ERIKA Enterprise supports ARM Cortex MX microcontrollers. The support for RT-Druid is now available.

The Cortex M0 support includes:

  1. support for IAR compiler;
  2. support for single and multi stack configurations;
  3. ISR interrupt supported;
  4. support for IAR J-Link Debugger.

The Cortex M4 support includes:

  1. support for TI TMS470 and Keil ARM compiler;
  2. support for single and multi stack configurations;
  3. ISR interrupt supported;
  4. support for TI STELLARIS ICDI and Keil ULINK2 USB JTAG Debugger.
  • Supported compiler:
    • IAR Embedded Workbench compiler and debugger tool suite.
    • TI Code Composer Studio compiler and debugger tool suite.
    • KEIL uVision compiler and debugger tool suite.
  • Mode of operation:
    • Mono-stack: The Monostack configuration of the ERIKA Kernel models the fact that all tasks and ISRs in the system share the same stack.
    • Multistack HAL: Every thread can have its private stack, or it can share it with other threads.

MCUs

  • The MCUs currently supported are the following:
    • NXP LPC12xx.
    • TI Stellaris LM4F232xxxx.

Libraries

  • The software libraries currently supported are:
  • Cortex Microcontroller Software Interface Standard (CMSIS) Version 2.1.

Boards

  • The boards currently supported are the following:
    • NXP LPCXpresso LPC1227 demo board.
    • TI Stellaris LM4F232H5QD evaluation board.
  • List of functions:
    • Currently the NXP LPCXpresso demo board is supported through the CMSIS library.
    • Currently the TI Stellaris LM4F232H5QD evaluation board through the AUTOSAR Drivers.

Examples

  • The examples and tests are available in the new release (see below...).

Choosing compiler

It is possible to choose the path of the compiler in three different ways:

  • environment var:
    • IAR compiler: the IAR_CCDIR variable is able to override the path compiler set in RT-Druid during the build progress.
    • TI TMS40 compiler: CCS_INSTALL_ROOT variable is able to override the path compiler set in RT-Druid during the build progress.
    • Keil ARM compiler: ARM_ROOT variable is able to override the path compiler set in RT-Druid during the build progress.
  • configuration file:
    • command line versions of RT-Druid accept a configuration file, usually located at configuration/common_oil.pref.
      • This file is in the java properties format (i.e. each line is composed by keyword=value). The keyword preference_cortex_m0__path_for_cc_compiler can be used to set the compiler path for Cortex MX.
  • gui:
    • inside eclipse preferences, it is possible to set the path of Cortex MX complier

Download and install

  • The Cortex MX plug-in for Eclipse is part of the official distribution of RT-Druid.

The procedure to install (or update) Erika and RT-Druid plugins is described at Tutorial: Update ERIKA and RT-Druid.

Personal tools