Support for XA C compiler toolset

Application Notes

File Date Size Description
AN012-17.ZIP Jul 2001 23 kB XA-G49 IAP Library
Port of the XA-G49 In-Application library offering C function calls to the BOOTROM, developed by Embedded Systems Academy, targeted for FDI's XTEND-G49 board.
AN012-16.ZIP Jul 2001 52 kB XA Example: MiniLZO v1.07
LZO is a (de)compression library written in ANSI-C. MiniLZO is a lightweight subset of LZO that has been ported to the XA.
AN012-15.ZIP Jan 2001 1 kB XA Example: printf() to UART
This example demonstrates how standard C routines like printf can be made to interface with XA's UART0. The example will only work for v3.0 or prior.
AN012-14.ZIP Jan 2001 4 kB XA Example: UART Mode 1 Configuration
This example configures UART1 for mode 1 operation i.e. 8-bit UART with variable baudrate configuration.
AN012-13.ZIP Jan 2001 9 kB XA-H4 Example: Using DMA
This example initialises TxDMA0 for "stop on TC" mode and RxDMA1 for "periodic interrupt". It can be run on FDI's XA-H4 developers' board.
AN012-12.ZIP Jan 2001 3 kB XA Example: Declaring your hardware
This example project is a template defining the following hardware setup:
  • 32k internal rom
  • 32k external rom from 0h
  • memory mapped IO; 4k at 0h
  • external ram 32k from 32k
  • harvard architecture
AN012-11.ZIP Jan 2001 3 kB XA Example: Locating code
This example shows how to locate for the following hardware configuration:
  • 64k rom located at address 000000h in code space
  • 64k ram located at address 010000h in data space
AN012-10.ZIP Dec 2000 2 kB XA Example: Locating data
The example shows how to locate two memory mapped devices, one using the _at() attribute in C and one at locator level.
AN012-09.ZIP Dec 2000 2 kB XA Example: Heap locator labels
This example demonstrates the usage of locator labels. It does so by printing begin- and end address of the heap. It continues by allocating data from this heap and printing the locations from these storage areas.
AN012-08.ZIP Dec 2000 5 kB XA Example: Interfacing a host library
This example will build two applications. The first one will create a number of functions which are supposed to be programmed in a rom once thus behaving like an on-board host library. The other is a client application that calls these functions and is liable to change.
AN012-07.ZIP Dec 2000 3 kB XA Example: Parity bit in PSW51 register
During development there are cases where C has to interface with assembly. This is an example where the XA utilizes the parity bit of special function register PSW51 that simulates the program status word of the 8051 architecture.
AN012-06.PDF Sep 2000 47 kB The anatomy of the Makefile
During development there are cases where C has to interface with assembly. This is an example where the XA utilizes the parity bit of special function register PSW51 that simulates the program status word of the 8051 architecture.
AN012-05.PDF Nov 1999 126 kB XA-G49 ISP Adapter for XTEND-G3
The XTEND-G49 Development Kit from FDI includes an unmodified XTEND-G3 board which does not provide the extra circuitry necessary to support ISP. This document describes how to build your own adapter which allows ISP support on an XTEND-G3 evaluation board.
AN012-01.EXE Sep 1999 91 kB XA Boot Loader
This appnote consists of a PDF document plus two EDE projects. It shows how a bootloader can be implemented. The bootloader will download a simple program that triggers trap 0 in an endless loop. Both bootloader and program have their own startup.