Name

CYGPKG_HAL_CORTEXM_SAMX70_EK — eCos Support for the SAMX70-EK Board

Description

This document covers the configuration and usage of eCos on the Atmel SAMX70 evaluation kits. This includes the SAME70 Xplained and the SAMV71 Xplained Ultra on which this support has been tested. Boards containing other devices in the SAM E70, S70 and V70 family should be supportable with minimal effort.

For typical eCos development it is expected that programs will be downloaded and debugged via a hardware debugger (JTAG/SWD) attached to either the standard ARM 20-pin JTAG connector or via the on-board EDBG USB socket. Use of a hardware debugging interface avoids the requirement for a debug monitor application to be present on the platform.

Supported Hardware

The SAM variant HAL includes support for the on-chip serial devices which are documented in the variant HAL. USART0 is connected to the EXT1 external connector. USART1 is connected to the EXT2 external connector and the EDBG USB socket where it is available as a CDC/ACM interface. There is no support for hardware flow control in either of these devices. USART1 is configured as the default diagnostics console.

Device drivers provide support for the two I²C (TWI) interfaces, which are instantiated by the platform HAL. These have been tested using external I²C devices.

A driver is available for the CAN devices present on the chip, which are available on pins on the various boards.

A driver for the AFE (Analog Front-End) Controller is available. A test program that uses an external potentiometer is present in the platform HAL.

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.7.3e, arm-eabi-gdb version 7.6.1, and binutils version 2.23.2.