Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 6
The first module are the the low level drivers that communicates
with the serial port to receive and pre-process the data packets
received through datalink.
The second module is the communication application. This receives
the valid data packets and processes the command embedded in the
packet.
3.2 Kernel Architecture
The Kernel manages a memory area known as Heap Memory. The Heap Memory serves as a depository
for code or data that an application will use. It also allocates space used for code overlay for swapping in
EEPROM-based applications code and code for periodic tasks.
The Kernel interfaces to the application through the Application Configuration Data (ACD) and the
Application Control Block (ACB). The ACD and ACB provides the kernel with the info on how an
application is configured in the system, the location of the application data, location of the state manager
and the resource handler routines.
With this generic structure, the Kernel can process any application regardless of it being stored in internal
memory or external memory. Adding new applications to the system is facilitated by this architecture
whether the application will be added during the design time or after the microcontroller has been
permanently programmed.
Due to its dependence on heap memory, the Kernel is limited in its ability to spawn a larger number of
application in memory due to limited internal memory of the microcontroller.