29.01.2015 Views

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A Flexible Object-Oriented <strong>Software</strong> Architecture 113<br />

2. PLATFORM AND APPLICATION SPECIFICS<br />

The <strong>de</strong>velopment of the software architecture and application were to be based<br />

on an initial member of a product family of SWCDs, requiring support of<br />

that particular plat<strong>for</strong>m while being open to future extensions.<br />

The resource-constrained, cost-optimized SWCD hardware plat<strong>for</strong>m (<strong>for</strong><br />

<strong>de</strong>tails, see [3]) was resembled by a core module comprising a NEC-type<br />

processor operating at 20 MHz, a variable amount of on-board RAM (up to<br />

2 MB), and a number of optional components, such as a GPS module, a<br />

GSM/GPRS mo<strong>de</strong>m, UARTs, a real-time clock (RTC), Flash memory, etc.<br />

This core module was meant to be supplemented by a power supply, additional<br />

interface circuitry, and any of a number of additional components, such<br />

as USB, Ethernet, or Bluetooth interfaces.<br />

As can be conclu<strong>de</strong>d from this brief <strong>de</strong>scription, the hardware plat<strong>for</strong>m was<br />

characterized by a high <strong>de</strong>gree of variability with respect to incorporated<br />

components. This variability is shown in more <strong>de</strong>tail in the feature diagram<br />

of Figure 9-1. Furthermore, rather than assuming just a single specific<br />

component per component type, components could vary as well with respect<br />

to their exact mo<strong>de</strong>l or even manufacturer.<br />

The basis <strong>for</strong> software <strong>de</strong>velopment on this SWCD plat<strong>for</strong>m was <strong>for</strong>med<br />

by eCos, a real-time operating system (RTOS) originally <strong>de</strong>veloped by Red<br />

Hat, Inc. eCos is open-source and license-cost-free, contributing to a reduction<br />

in overall costs. It offers both a native and a number of standardized<br />

(though limitedly-implemented) APIs.<br />

Building upon both the hardware’s capabilities and the RTOS, there is a<br />

prototypical application <strong>for</strong> this kind of plat<strong>for</strong>m which is able to make use<br />

of the entire range of (optional and mandatory) components the hardware

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!