The EMAC HC12 Software Development Kit

EMAC.Inc
Date:
March 3 2006

Introduction

This software package provides a interface to the hardware of the EMAC E12 line of products. E12 projects are separated into 2 parts, the kernel and the project.
The HC12 SDK provides the GNU toolchain, kernel object files, example projects, makefiles, and a utility for uploading the produced S records to the target.

E12-Kernel

 The E12 Kernel provides system calls for accessing all the hardware of the device, as well as high level utilities, such as formatted printing and protocols.

Example Projects

Several projects are provided, a simple hello world application, CAN, the EMAC test app, and a Modbus example. Note that Modbus is a separate purchaseable module, and will not build without this addition.

linking

Linking is done automatically by the project Makefiles. When a project is compiled, the appropriate object files are copied into the projects directory in conjunction with a linker file.
A final executable elf, S19, and listing is then formed.

uploading

Project Makefiles contain an "upload" target, which calls the uploader utility. uploader can be used to transfer S records into an EMAC E12 target via a serial port.