
                            Readme file for F240                       20 Sept 97
			 Flash programming utility.
		      ============================

The 'F240 Flash Programming Utility operates entirely via the JTAG link using
the XDS510 emulator. There are no special target H/W requirements. Any target
H/W which correctly runs an 'F240 device & responds to the JTAG serial scan
from emulator, should be OK. For a full description of the utility refer to
the README.PDF document (Acrobat format).

For correct operation the Clear, Erase & Prog algorithms rely on an internal
Clk speed of 20MHz (50nS clock cycle).  To ensure this with various
crystal/oscillator values the correct config needs to be set-up within the
C240_CFG.I file supplied on this disk.   In this file provision is made to
select 9 different PLL multiplication ratios from x1 to x9 of the CLKIN
frequency. See instructions within the C240_CFG.I file for details on how to
select these. The default PLL value is x2, i.e. a 10MHz CLKIN clock or
Crystal is expected for s/w to operate correctly.

The Batch files used for completing a Programming cycle are:

   1. BC0.BAT - used for clearing the Array (no user files required)
   2. BE0.BAT - used for Erasing the Array  (no user files required)
   3. BP16K.BAT - used for Programming the array (User *.out file required)
                  e.g. modify the command line of BP16K.BAT to program the
                       array with the user's file FLMYFILE.OUT.


    Note 1: If the flash array is not completely erased (all FFFF) then a
            CLEAR, ERASE & PROGRAM phase (i.e. BC0.BAT, BE0.BAT & BP16K.BAT
	    batch files) must be executed in that order.

    Note 2: The I/O address for the XDS510 PC plug-in card is contained within
	    each of the batch files mentioned above. This address should be
	    consistent with the actual address that has been setup with the
	    C2xx Debugger s/w. The default address for the Flash Utility is
	    -p 240.


