Copyfiles; Non-Ffs Partitions; Downloading Partitions To The Mc21Xx - Motorola MC21XX SERIES Integrator Manual

Mc21xx series
Hide thumbs Also See for MC21XX SERIES:
Table of Contents

Advertisement

4 - 4
MC21XX Series Integrator Guide
Making modifications to registry values for drivers loaded before RegMerge is not recommended. However,
these values may require modification during software development. Since these early loading drivers read
these keys before RegMerge gets a chance to change them, the MC21XX must be cold booted. The 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 and then Application). These files are text files
containing the source and destination for the desired files to be copied separated by ">".
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 MC21XX 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, the
entire OS image may be downloaded to the MC21XX using files provided by Motorola. Any upgrades
must be obtained from Motorola. This partition is mandatory for the MC21XX.
Splash Screen: a bitmap smaller than 16 Kb (and limited to 16 bits per pixel) is displayed as the MC21XX
cold boots. To download a customized screen to display, see Creating a Splash Screen on page 4-16.
Bootloader: This program interfaces with the host computer and allows downloading via USB cable any
or all of the partitions listed above, as well as updated versions of Bootloader. Use caution downloading
updated Bootloader versions; incorrect downloading of a Bootloader causes permanent damage to the
MC21XX. Bootloader is mandatory for the MC21XX.
Partition Table: Identifies where each partition is loaded in the MC21XX.

Downloading Partitions to the MC21XX

USBDownload is used to specify a hex destination file for each partition and download each file to the
MC21XX. This download requires a program loader stored on the MC21XX. The MC21XX comes with a
program loading utility, Bootloader, stored in the MC21XX's write-protected flash.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc2100Mc2180

Table of Contents