|
|
| . |
|
Flash Objects Introduction A Flash object manages nonvolatile flash memory on the XMP/ZMP motion controllers. To optimize flash memory, a host-resident flash memory cache is used to provide faster writing performance. After your application creates a Flash object (using meiFlashCreate), the Flash object then creates a host-resident flash memory cache. meiFlashCreate will create the flash object and initialize an internal (host-resident) cache with a copy of the flash on the board. All Flash functions (with the exception of meiFlashMemoryFromFile) will modify the host resident cache. When you have finished modifying the host resident cache, use meiFlasheMemoriyFromFile(fileName=NULL) to write the host cache data to the board's flash memory. meiFlashMemoryToFile can be used to copy the board's flash to a user specified file. (If the filename is NULL, the data is copied to the host resident cache.) Host resident cache is deleted when meiFlashDelete is called. Use the meiFlashDataGet/Set methods to move data between your application and the flash cache. Use the meiFlashMemoryToFile and meiFlashMemoryFromFile methods to move data between the flash cache (or file) and the actual flash memory. Typically, your application would:
| Error Messages | Methods
Data Types
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | | Copyright © 2001-2008 Motion Engineering |