Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit
patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Int egrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737- 7600
2011 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products.
Table 4-3: ATE Connector Pi ns ............................................................................................................. 25
Table 4-4: ATE Connector Pi n Input Voltage Thresholds ........................................................................ 25
Table 4-5: ATE Connector Pi n Output V oltage Levels ............................................................................ 25
Revision 2.34 of 36
1
Flash Programmer Model TFP2 User’s Manual
1 GETTING STARTED
1.1 GENERAL
The TFP2 Flash Programmer, Model TFP 2 provides a stand-alone, FLASH memory programming tool for
Teridian Semic onduc tor’s embedded controller s. The TFP 2 facilitates FLASH programmi ng in a
manufacturing production environment requiring minimum ancillary equipment. Once the TFP2 has been
initializ ed with the target’s program code, the target’s FLASH memory can be programm ed either
manually vi a operator push button, or controlled vi a a factory automation computer (ATE).
The target’s program c ode is stored in a standard 32-pin PLCC 256 KB x 8 Flash PROM (EEPROM). A
RS-232 interface is provided for connection to a PC allowing for downloading of the target’s program
code to the TFP2’s internal E E P ROM. Thi s downloadi ng utility along wit h target programming and
additional status information is provided v ia a simple text based user interface.
The TFP2 supports target flash memory sizes of: 8KB, 16KB, 32KB, 64KB , 128KB, and 256KB.
Once the TFP2’s internal E E P ROM is programmed, the PC may be removed for standalone operation.
Standalone operat ion only performs the target F LASH mem ory progr ammi ng. Once programmed, the
target’s FLASH mem ory contents are verified and a PASS or FAIL indication is reported. The TFP2 front
panel incorpor ates two status LEDs. These status indications are also provided at the ATE connector
and displayed by the P C User Interface.
Two target connector s are prov ided to facilitate custom target c onnec tions. The standard ADM-51 ribbon
cable connector is provided along with a discrete wire connector . The discrete wire connector
accommodates low cost, custom cable harnesses. These two cable connector interfaces are hardwired
together and are not two separate interfaces.
1.2 SAFETY AND ESD NOTES
Standard ESD handli ng pr ec autions should be employed whenev er handli ng electronic equipment. The
TFP2 Flash Programmer utilizes ESD protection devices on its cable interfaces. Potential equipment
damage and/or malfunction is possible if work surf ac e groundi ng pr oc edur es are not incorporated.
Revision 2.35 of 36
The TFP2 ESD protection devices do not protect the target’s hardware. Correct
handling procedures and proper work area grounding minimizes damage to all
equipment!
Flash Programmer Model TFP2 User’ s M anu al
1.3 KIT CONTENTS
Model TFP2 Flash Programmer
5VDC/1,000mA universal wall transform er with 2.5mm plug
Serial cabl e, DB9, Male/F em ale, straight cable, 2m length (Digi-Key AE1020-ND)
ATE cable housing and crimp pins
Target-LS cable housing and c r im p pins
CHKSUM.EXE Utilit y Di sket te or CD-ROM
Model TFP2 User Manual
TFP2 Quick Start Guide
1.4 COMPATIBILITY
This manual applies to the following hardware and software rev isions:
TFP2 fir mw a r e revision 1.53 or later
TFP2 hardware revi si on 1
1.5 SUGGESTED EQUIPMENT NOT INCLUDED
For use with optional text user interface operati on (terminal emulation soft ware):
PC w/ MS-Windows
(COM port) via DB9 connector
versions XT, ME, 2000, or Windows 7, equi pped with RS-232 port
Revision 2.36 of 36
2
Flash Programmer Model TFP2 User’s Manual
2 PC USER INTERFACE
2.1 TFP2 CHKSUM.EXE UTILITY
Prior to downloading the target’s hex file to the TFP2, the target’s hex file must be preprocessed using the CHKS UM.E XE uti li t y pro vid ed with the enclosed diskette. A hex file
not processed with CHKSUM.EXE will resu lt in incomplete programming of the target’s
FLASH memory. The target’s code must be of the Extended Intel ASCII HEX-80 format for
processing by CHKSUM.EXE.
From the DOS Command prompt, inv ok e CHKSUM.EXE as follows:
chksum kb <infile.hex >outfile.hex where:
kb = desired file siz e, Mem or y Size S witch setting to be used during TFP2 downloading and
target programmi ng
infile = t ar get code hex file to be processed
outfile = processed t ar get code hex file to be downloaded to TFP2
The following fi gur e shows a typical invocation of CHKSUM.EXE:
Figure2-1: CHKSUM.EXE Hex File Processing
The purpose of the CHKSUM utilit y is to or ganize the individual hex records into a contiguous “sequential
address increasing” structure. Some complier s produce non-sequ ential hex files. T he TFP2 assumes a
sequential file struct ur e. A non-sequential hex file downloaded to the TFP2 resul ts in missing bytes (the
missing bytes are the out -of-sequence hex records) in the target flash memor y (when the target is then
programmed wit h the TFP 2).
The CHKSUM.EXE utility m ay or may not ov er write the last four bytes of the downloaded target hex file
depending on whether these l oc ations are used or not.
Revision 2.37 of 36
Flash Programmer Model TFP2 User’ s M anu al
The following cases apply to using the CHKSUM.EXE utility:
1. If the last four byt es of the t ar get hex file are unused (0xFF), the CHKSUM.EXE uti lity will insert
its own calculated t wo byte CRC and two byte checksum.
2. If any of the last four byt es of the t ar get hex file are non-0xFF values, the CHKSUM.EXE utility
will NOT overwrite the four original values.
The CHKSUM.EXE utility displ ay s the following warning when it encounters non-0xFF values:
Figure 2-2: CHKSUM.EXE Warning Display
When programmi ng the target FLAS H m em ory, these last four bytes of the target hex file are transf er r ed
intact. Either the CHKS UM.E XE calc ulated CRC and checksum bytes are copi ed or the ori ginal target’s
hex data are copied. If the last t wo bytes of the target hex file are 0xFF (CHKSUM not used), t he TF P 2
overwrites the last two 0xFF bytes with its calculated checksum dur ing the Hyper-Terminal file Download
operation.
With HyperTerminal configured for serial COM port, 38400 baud, 1 stop bit, no parity, XON/X OF F ( refer to
Section 3.3for serial communic ation setup information) the following inform ation is displayed upon
applying power to t he TFP2. Any generic termi nal emulation program will work. Howev er , the target hex
file download instr uc tions presented apply to HyperTerminal.
Figure 2-3: TF P 2 Powe r -Up Information Display
The Memory Size Switc h setting and the checksum of the current target fil e stor ed in the TFP2’s internal
EEPROM are displayed. An “I nv alid M em or y Size setting” m essage appears if the Memory Size Switch is
set to one of the invalid positions. Rotate the Memory Size Switch to a proper setting and re-apply power
to the TFP2 to update the Memory Siz e setting.
If the target hex file has non-FF values in any of the last four bytes, t he abov e power-on screen m ay
display a “TFP2 EEPROM verification er r or .” message. The displayed “TFP2 EEPROM Checksum =”
value and “Stored Checksum =” value will be different. This occurs when the stored check sum value
(from user’s target fi le) is derived from a different c hec ksum c alc ulation from what the TFP2 uses.
Therefore, the TFP 2 c annot confirm the EEPROM’s contents. Howev er, the chec k sum verification error
will not prevent the TF P 2 from programming a target board. The “TFP2 EEPROM Checksum =” value is
recalcul ated upon every power-on or system reset. Manual verification of the EEPROM’s contents
requires compari ng the TFP2 EEPROM Checksum value derived after the file download to subsequent
power-on recalculated checksum values. See Figure 2-8 for an example of a display ed c hec k sum value
after a file download.
Upon pressing the “Ent er ” key , the “>” charac ter is displayed indicating the TFP2 acknowledges the PC’s
keyboard. Typing “ ?” followed by the “ E nter” key displays the Help Menu.
Revision 2.38 of 36
Checksum
Flash Programmer Model TFP2 User’s Manual
Figure 2-4: TFP2 Help M enu
Commands C, E, T, V, Z and ? are single keystroke events (no further user acti on requi r ed until the TFP2
completes the int ended task). The D, H and P commands require additional user action and are
described in Section 2.6, Section 2.2, and Section 2.3, respectively. The BOOT command is a special
user action and is descri bed in Section 5.
The following t ables show the results of the last two words of the hex file after usi ng CHKS UM and after
downloading and program m ing using the TFP2. The referenced addresses assume use of a 64KB flash
memory configuration.
Initial Hex File Dat a File Address
0xFFFC
Hex Fi le with 0xF F 0xFFFF 0xFFFF
Hex File with non-0xFF CRC UserData 0xFFFF
Hex File with non-0xFF
Hex File with non-0xFF CRC
and non-0xFF Checksum
Table 2-1: CHKSUM Utility Addresses
Upon executing CHKS UM, the fi r st line displayed contains the CHKS UM versi on. Table 2-2 shows the
results of processing the above hex files with CHKSUM.
0xFFFF UserData
UserData UserData
File Address
0xFFFE
Revision 2.39 of 36
Checksum
Target
Target
Program Verify Passes
Power-Up Verify Passes
Program Verify Passes
Power-Up Verify Passes
Program Verify Passes
Program Verify Passes
Power-Up Verify Fails
Program Verify Passes
Power-Up Verify Fails
Program Verify Passes
Power-Up Verify Fails
Power-Up Verify Fails
Flash Programmer Model TFP2 User’ s M anu al
Hex File Data after Using
CHKSUM
File Address
0xFFFC
CHKSUM v1.5
File Address
0xFFFE
Hex Fi le with 0xF F 0xFFFF Teridian
Checksum
Hex File with non-0xFF CRC UserData Teridian
Checksum
Hex File with non-0xFF
0xFFFF UserData
Hex File with non-0xFF CRC
UserData UserData
and non-0xFF Checksum
Table 2-2: CHKSUM Utility Output Data
The TFP2 Download Verify and P ower-Up Verify expects to read the Teridi an c hec k sum. For the
following ex am ples shown below, a Do wnload V er ify fail and Power-Up Verify f ail occurs because the
user data is preserv ed ( r ather than over-writing with the Teridi an v alues). A Download Verify fail and
Power-Up Verify f ail does not pr ev ent correct target memory programming ( these messages are
informati onal only). The Teridian checksum insertion (over-writing) m ay only occ ur when using CHKS UM
or during the TFP2 download (if 0xFF values are encountered).
The TFP2 programs into t he target memory what was previously downloaded (once downloaded, the l ast
two words do not change during pr ogr amming). The TFP2 then verifies the target memory to its internal
memory resulting in the correct PASS indication ev en when user data is present.
Target Data after Using TFP2
Hex Fi le with 0xF F 0xFFFF
Hex File with 0xFF after CHKSUM v 1.5 0xFFFF
Address
0xFFFC
Address
0xFFFE
Teridian
Checksum
Teridian
Checksum
Comments
Download Verify P asses
Download Verify P asses
Hex File with non-0xFF CRC UserData
Hex File with non-0xFF CRC after
CHKSUM v1.5 (includes UserData into its
Hex File with non-0xFF Check sum 0xFFFF UserData
Hex File with non-0xFF Check sum af ter
Hex File with non-0xFF CRC and non-0xFF
Hex File with non-0xFF CRC and non-0xFF
Checksum after CHKSUM v1. 5
Revision 2.310 of 36
Checksum)
CHKSUM v1.5
Checksum
Teridian
Checksum
UserData
Teridian
Checksum
0xFFFF UserData
UserData UserData
UserData
UserData
Table 2-3: CHKSUM Utility Data Dependency
Download Verify Fails
Power-Up Verify Fails
Program Verify Passes
Download Verify P asses
Power-Up Verify Passes
Download Verify Fails
Download Verify Fails
Download Verify Fails
Program Verify Passes
Download Verify Fails
Flash Programmer Model TFP2 User’s Manual
2.2 TFP2 EEPROM DOWNLOAD
Transfer of the target’s code from a PC to the TFP2 begins with the “H” command. The target code file
must have been preprocessed using the CHKSUM.EXE utility pr ov ided on the enclosed diskette. Refer
to Section 2.1 for instructions on using CHKSUM.EXE. Use of any other format results in m alfunction and
download checksum er r or s.
After typing “H” followed by the “Enter” key, the cursor m ov es to the following line. Next, click on the
“Transfer” button and scroll down to “Send Text File” to select t he desired f ile to be downloaded.
Enable the “All files (*.*)” for file type and select your desired t ar get Intel Hex code file from the
appropriate sub-directory.
Figure 2-6: TFP2 Select Target Intel Hex Fil e
Upon clicking on “O pen” a rot ating prompt is displayed indic ating the file download is in progress.
Figure 2-7: TF P 2 D ow nload in Progres s
When the file download completes, the number of bytes transferr ed is displayed. A running CRC is
calculated during the file download for each byte received for programming into the TFP2 internal
Revision 2.311 of 36
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.