Summary

If the phrase embedded systems conjures images of frustrated engineers struggling to squeeze another 15 bytes out of their code so that it fits in the 1K on-chip memory, then scripting capabilities might seem like an unaffordable luxury. It really isnt. First, modern silicon economies are such that most applications can easily afford the necessary code space especially during development. Later, if needed, the monitor can be reconfigured to minimize its footprint.

Second, as the preceding examples illustrated , scripting can be a very powerful tool for creating system-level capabilities and development tools.

Finally, a scripting capability encourages you to strive for modularity in your code. Including a script runner allows you to write the bulk of the monitor and your application as relatively independent, primitive functions that are aggregated into meaningful capabilities by various scripts. You can do the same thing in programming code, but the script is easier to write, modify, and maintain. Because the script depends on the monitor for its execution context, in many cases, scripts are significantly smaller than equivalent programs.



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