User Manual For CYCLONE
FX
Programmers
125
saved (Save Button). The new serial number is initialized with one (1) byte of binary.
12.3.2
SAVE
Pops up a Save dialog with the current serial number being edited into the file name and path as
shown in the Serial Number File window. If a file name has not been provided, a dialog will pop up
to allow the user select a file name. Save will save any setup information in the file Serialize.ini.
This file will initialize the setup information the next time the program is started.
12.3.3
HELP
Opens the Serialize help system (serialize.hlp file, i.e. this file) for perusal.
12.3.4
Exit
Turns off the Serialize Program and does not save any information. Also Xing out of the program
(top right of screen) does not save the setup info.
12.4
Serialize Utility Example
An example file is provided, c:\PEmicro\Utlities\Example.ser. It shows a serial number with 6 bytes.
1. Number of bytes in the serial number is 06 Hex (or 6 bytes in base ten)
2. Address to program bytes is set to 0010000 Hex
3. Serial number is
a. First 3 bytes are Constants: (PE-): 50 45 2D
b. Last 3 bytes are Numeric binary ( ): 00 00 00
12.5
Using Serial Number File
The command to invoke the serial number file in PEmicro’s interactive programming software is
“CS Choose Serial File”. The command to actually program the serial number to target and
automatically increment the serial number afterward is “PS Program Serial Number”.
PEmicro’s command line software uses the same commands in a command line fashion to invoke
the serial number file, initiate its programming, and increment:
CS serial_number_file.ser
PS
12.6
Serial Number Handling
The
CYCLONE
FX
firmware implements the automatic serial number mechanism (see
5.2.2.3 - Modify Next Serial Number
). The same serial number files are used with the Cyclone
Image Creation Utility, and the same commands are used to specify the serial number file and
initiate serial number programming and incrementation. The serial number data structure is saved
in the SAP image. Once a “PS” command is carried out, a serial number is programmed into the
target. Only after all operations have been completed successfully does the Cyclone firmware
automatically increment the serial number and store it in the Cyclone’s flash for internal images (or
external CompactFlash for external SAP images).
The CS and PS commands are not present in the Cyclone Image Creation Utility until a valid
programming algorithm is specified.
To complement the Cyclone’s usage in production environments, the Cyclone supports multiple
serial number structures for each programming algorithm block. Each SAP image may contain
multiple programming algorithms for every memory module it needs to program, and each
programming algorithm block may contain multiple serial number structures. The SAP image
sequence below illustrates this briefly:
CM algorithm_file_1
SS object_code_1