This document covers the configuration and usage of the Hardware Abstraction Layer (HAL) for the Atmel SAMA5D3 series of Cortex-A5 microcontrollers. It is expected to be read in conjunction with platform HAL-specific documentation, as well as the eCos HAL specification. This processor package complements the ARM architectural HAL, Cortex-A variant HAL and the platform HAL. It provides functionality common to all SAMA5D3-based implementations.
This support is found in the eCos package located at packages/hal/arm/cortexa/sama5d3/var within the eCos source repository.
The SAMA5D3 HAL package is loaded automatically when eCos is configured for a SAMA5D3-based platform. It should never be necessary to load this package explicitly. Unloading the package should only happen as a side effect of switching target hardware.
The Cortex-A5 CPU uses the common ARM Cortex-A package which provides run-time support for cache, MMU, etc. The Cortex-A5 has full application compatability with Cortex-A8, Cortex-A9, and Cortex-A15 processors, but in a smaller, lower power, package.
In addition to the core CPU support, the SAMA5D3 processor variant package provides common functionality and definitions that SAMA5D3 based platforms may require, as well as definitions useful to application developers.
The platform HAL documentation Setup section gives an overview of hardware debugging support, e.g. PEEDI, J-Link, etc.