Chapter 11: Adding the Application

Ive mentioned several times that an application resides on top of the monitor. The monitor supports an application much like DOS does, with many of the same benefits. The monitor provides a platform on which the application runs. Because the application can use the monitors API to access platform resources, it is insulated from the gory details of the underlying hardware. This chapter shows how the application and monitor can live happily together on the target system.

Different Memory Map

Because I am building an application to run on top of the monitor and because the model of the monitor is that the application is loaded from TFS to RAM space, the applications memory map becomes much simpler. As a matter of fact, all of the application can reside in the same block of RAM or DRAM space. The monitors loader (part of TFS) automatically transfers the contents of the executable file in TFS flash to the RAM space.

image from book
Figure 11.1: Monitor Transfers File from Flash to DRAM.


Embedded Systems Firmware Demystified
Embedded Systems Firmware Demystified (With CD-ROM)
ISBN: 1578200997
EAN: 2147483647
Year: 2002
Pages: 118
Authors: Ed Sutter

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net