User guide
3.18 Software interface for external serialization
The software option “Interface for external serialization” allows the customer to serialize SD/MMC,
Memory Stick PRO cards and USB Sticks during the copy job. Serialization of media can be used
to protect card contents such as data files or programs against unauthorized duplication or usage.
SD/MMC, Memory Stick PRO cards and USB Sticks contain a serial number that is unique to each
media and cannot be altered because it is predefined by the media manufacturer. If the target
application is able to to read out the serial number, it can check whether this is an authorized copy
or not.
Please notice, that the reading of the CID or serial number is currently only supported by the IQ
CopyStation and the USB CopyStation. The FlashCard CopyStation and the Lite CopyModules are
not able to read out the CID or serial number of SD, Memory Stick or CF cards.
If serialization is enabled, the PowerSoftware first writes the selected master image to all inserted
media as configured and verifies the contents if the verify after write feature is enabled. After that,
for each inserted medium, the CopyStation will map the currently active card to a logical drive in
the operating system and call an external program.
This program, which must be designed and provided by the customer, is called by the
PowerSoftware by default with the CID (card ID, SD/MMC cards) or medium serial number
(Memory Stick PRO, USB Sticks) and the logical drive letter as command line parameters. It can
use standard file I/O calls from the operating system file system such as fopen() fread()
fwrite().They allow full access to all files and subdirectories on the card. In addition, low level OS
calls allow full access to any storage block on the media, for example the boot sector.
Also it is possible to force the PowerSoftware to use an individual list of parameters. With the help
of this feature it is possible to easily integrate several third party tools like virus scanner and
formating tools into the copy process. The PowerSoftware support up to 16 parameters. The input
of the single parameters can be done by using quotation marks or not.
There exist several magic keys which can be used in the list of parameters. The magic keys will be
replaced by the PowerSoftware be media related information. The following keys exist:
$PHY_DRIVE_NAME$
Name and path of the physical drive driver instance
$DRV_LETTER$
Name of the logical drive
$CID_OR_SERIAL$
CID or serial number
Costumizing the error text for the return codes of the serialisation program:
The PowerSoftware makes it possible to customize the error text for the serialization program. To
do this you have to create a text file (ASCII) with the name „CustomisedReturnCodes.ini“ in the
same directory as the PowerSoftware. For each return code one single line of text has to be added
into the file as followed:
2=This is error 2
56/61