Creating and Loading Hex Images 6-19
Typically, do not modify registry values for drivers loaded before RegMerge. However, these values can require modification during
software development. Since these early loading drivers read these keys before RegMerge gets a chance to change them, the mobile
computer must be cold booted. A warm boot does not re-initialize the registry and the early loading driver reads the new registry
values.
Do not use Regmerge to modify built-in driver registry values, or merge the same Registry value to two files in the same folder, as the
results are undefined.
CopyFiles
Windows CE expects certain files to be in the Windows folder, residing in volatile storage. Windows CE maintains the System
Registry in volatile storage. CopyFiles copies files from one folder to another on a cold boot. Files can be copied from a non-volatile
partition (Application or Platform) to the Windows or other volatile partition during a cold boot. During a cold boot CopyFiles looks for
files with a .CPY extension in the root of the Platform and Application FFS partitions (Platform first, then Application). These text files
contain the source and destination for the desired files to copy separated by “>”. The DCP for MC50’s demo application partition
includes the following example from the file application.cpy. Alternatively, obtain this from the Symbol web site at
http://devzone.symbol.com/.
Files are copied to the Windows folder from the Flash File System using copy files (*.cpy) in the following order:
\Platform
\Application
Example:
\Application\ScanSamp2.exe>\Windows\ScanSamp2.exe
This line directs CopyFiles to copy the ScanSamp2.exe application from the \Application folder to the \Windows folder.
Non-FFS Partitions
Non-FFS Partitions include additional software and data pre-loaded on the mobile computer that can be upgraded. Unlike FFS
Partitions, these partitions are not visible when the operating system is running. They also contain system information. Non-FFS
partitions include the following:
• Windows CE: The complete Windows CE operating system is stored on Flash devices. If necessary, download the entire OS
image to the mobile computer using Symbol-provided files. The TCM installation package includes the current OS partition
on the mobile computer. Obtain any upgrades from Symbol. This partition is mandatory for the mobile computer.
• IPL: This program interfaces with the host computer and allows downloading via cradle or cable any or all of the partitions
listed above, as well as updated versions of IPL. Use caution downloading updated IPL versions; incorrect IPL downloading
causes permanent damage to the mobile computer. IPL is mandatory for the mobile computer.
• Partition Table: Identifies where each partition is loaded in the mobile computer.
Downloading Partitions to the Mobile Computer
TCM is used to specify a hex destination file for each partition and download each file to the mobile computer. The mobile computer
includes a program loading utility, Initial Program Loader (IPL), stored in write-protected flash.