Overview
A complete SyCore system consists of three libraries, namely the System Core Library, platform library and CPU library. These three libraries are linked together along with the CPU’s C run time library and any other user library to create the embedded application. The CPU library contains the entire functions specific to the CPU. This will include drivers for task control, timers, memory management and any other on-chip peripherals that are required by the application, such as USB, Serial CAN, IIC etc. It also will include the low level interrupt and exception handler interfaces to the System Core library. The platform library contains drivers for any peripherals (including memory) external to the CPU. For example a ‘bit-banged’ IC connected to some port pins would have a driver contained in the Platform library. Below is a diagrammatical representation of the system architecture, showing the libraries and the associated interfaces:
Embedded Application |
||||||
Application Interface |
||||||
System Core Library |
||||||
| Low-Level Task Control Interface |
Low-Level Timer Control Interface |
Low-Level MMU Control Interface |
Device Driver Interface |
|||
Task Control Driver |
Timer Control Driver |
MMU Control Driver |
System initialisation and platform specific functions |
|||
CPU Library
|
Platform Device Drivers | Memory Control | ||||
Platform Library |
||||||
C Run Time Library |
||||||
| Key: | ANSI C Run Time Interface | Application Interface | Driver Interface | |||
| Task Control Interface | Timer Control Interface | MMU Control Interface |
For a detailed explanation please see the System Core Library Reference Manual.