56800E Flash Programmer User Guide, Rev. 0
8
Freescale Semiconductor
2.1.1.11 –page
Legacy Support
This option specifies a Page Erase mode should be used instead of the Mass Erase mode. This parameter
is useful for in-field upgrades where parameters stored in on-chip Flash must be preserved. In this case,
only pages containing addresses referenced by the S-Record file will be erased. As this option is
deprecated, the –erase=X option should be used instead. This option is identical to –erase=page.
Example:
fflash flash.cfg my_appl.s –page
2.1.1.12 –r<mem><start>:<end>
This option causes the contents of the DSC memory to be dumped to the specified S-Record file. If the
output file already exists, it is overwritten.’<mem>’ specifies whether Data (‘X’) or Program (‘P’) memory
should be dumped. Addresses, ‘<start>’ and ‘<end>’, are expressed in hexadecimal.
Examples:
fflash flash.cfg readout_x.S –rX0x0:0xfff
fflash flash.cfg readout_p.S –rP0x0:0xfff
2.1.1.13 –recover
This option disables Flash Security by erasing ALL on-chip Flash units of the DSC. Please note the
contents of ALL on-chip Flash units are lost and cannot be recovered after performing this algorithm.
When the recover switch is provided in combination with a S-Record, or ELF file, the program will first
recover the Flash before programming the new S-Record, or ELF file onto the Flash.
Example:
fflash flash.cfg –recover
fflash flash.cfg my_appl.S –recover
2.1.1.14 –remote=Address[:port]
By default, the 56800E Flash Programmer connects to the local computer’s CCS server and attempts to
use it to program the DSC device. However, it is possible to program a device connected to a remote
computer’s CCS server. When the remote option is specified, the address of the remote CCS server is
required; nonetheless, the port is optional. The default value of the port is 41475. Changing the port value
is useful when the CCS server is behind a firewall. Contact your network administrator for more
information about which ports are open.
NOTE:
The IP address of the local computer is 127.0.0.1.
Examples:
Table 2-1 Typical Addresses Assigned to
LPT Ports on IBM-PC Machines
LPT#
Base Address
LPT1
0x378
LPT2
0x278
LPT3
0x3BC