Embedded Systems Firmware Demystified (With CD-ROM)

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.

Figure 11.1: Monitor Transfers File from Flash to DRAM.

Категории