Abstract
Non-volatile data storage enables a system to adapt to the environment on a long-duration basis, irrespective of the continuity of the power-supply.
Most members of the PIC18 family feature integral non-volatile data storage facilities. This is based both on a small Data EEPROM module and the ability to read and sometimes write to the Program store as a program executes. This chapter discusses these techniques to give both load and run-time capabilities.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
A few family members have an extended architecture. For instance, the PIC18F2620 supports 1 kbyte.
- 2.
Compare with 10,000 to 100,000 for Flash Program memory.
- 3.
For another approach to this example without using these makex() functions, see Example 15.1 in my Quintessential PIC ® Microcontroller.
- 4.
For details see Fig. 15.4 in my The Quintessential PIC ® Microcontroller, 2nd edn. Springer, 2005.
- 5.
The db directive pads out each byte with a zero byte, and thus is rather wasteful.
- 6.
So called because this restart area often contains code to initialize and start up the application code; that is boot up.
- 7.
There are exemptions; such as the PIC16F4510.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2010 Springer-Verlag London Limited
About this chapter
Cite this chapter
Katzen, S. (2010). To Have and to Hold. In: The Essential PIC18® Microcontroller. Computer Communications and Networks. Springer, London. https://doi.org/10.1007/978-1-84996-229-2_15
Download citation
DOI: https://doi.org/10.1007/978-1-84996-229-2_15
Publisher Name: Springer, London
Print ISBN: 978-1-84996-228-5
Online ISBN: 978-1-84996-229-2
eBook Packages: Computer ScienceComputer Science (R0)