Page 2
4/27/07 Rev. 1.0 Initial release. Teridian Semiconductor Corporation makes no warranty for the use of its products, other than expressly contained in the Company’s warranty detailed in the Teridian Semiconductor Corporation standard Terms and Conditions. The company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice and does not make any commitment to update the information contained herein.
(ATE). The target’s program code is stored in a standard 32 pin PLCC PROM internal to the TFP2. A board socket is provided for accommodating externally programmed ROM’s. The TFP2 is shipped with a 256 KB x 8 Flash PROM (EEPROM) installed in the socket for internal programming.
TFP2 Quick Start Guide 1.4 COMPATIBILITY This manual applies to the following hardware and software revisions: TFP2 firmware revision 1.0 or later TFP2 hardware revision 1 1.5 SUGGESTED EQUIPMENT NOT INCLUDED For use with optional text user interface operation (terminal emulation software): ...
2 TARGET CODE INITIALIZATION Before the target’s FLASH memory can be programmed, the target code must be transferred to the TFP2 for internal storage. First configure the TFP2 for the proper memory size of the target’s code. Rotate the internal Memory Size rotary switch to the appropriate position.
TSC Flash Programmer User’s Manual Figure 2-2 shows the basic RS232 connection of the TFP2 to a PC. Invoking a terminal emulator program such as Microsoft’s Windows 2000 HyperTerminal, displays a simple text based user interface for controlling the TFP2.
TSC Flash Programmer User’s Manual Figure 2-3: Port speed, port bit setup and flow control Once, communication to the TFP2 is established, press the “Enter” key and the TFP2 program prompt “>” should appear. Typing “ “ displays the TFP2 program help menu. Type “...
TSC Flash Programmer User’s Manual 3 TARGET FLASH MEMORY PROGRAMMING The TFP2 Flash Programmer connects to the target board via one of two connectors: The Target-LS connector provides connection using discrete wires. Target-LS Only use this interface for TCLK frequencies of 10 MHz or less.
The TFP2 does not supply power at the Target-LS connector. Power must be supplied to the target board separately. The TFP2 must be powered first before connecting the target board to the TFP2. Target-LS Connector part numbers: Connector Housing, 6 pin, 0.100...
The TFP2 does not supply power at the Target-HS connector. Power must be supplied to the target board separately. The TFP2 must be powered first before connecting the target board to the TFP2. Cable length must not exceed 12 inches for TCLK = 48 MHz operation.
The green Programming/Pass LED stops blinking and turns on solid if the target’s FLASH Memory contents are verified as good. If verification fails, the red Fail LED turns on solid. If the TFP2 cannot communicate with the target, the red Fail LED turns on immediately. Communications failure may result from no target power, bad cable or faulty target board.
The ATE interface cannot download target code to the TFP2’s internal EEPROM. Figure 3-7: ATE Configuration (shown with Target-LS cable for example) The TFP2 must be powered first before connecting the target board to the TFP2. The ATE connector pin assignments are as follows: ATE Pin...
TSC Flash Programmer User’s Manual The following flow chart diagrams the programming sequence required of the ATE (must apply power to TFP2 Flash Programmer before the sequence below begins): Turn-on power to target board BEGIN Target FLASH Memory Programming ProgAct pin 5...
4.1 TFP2 CHKSUM.EXE UTILITY Prior to downloading the target’s hex file to the TFP2, the target’s hex file must be pre-processed using the CHKSUM.EXE utility provided with the enclosed diskette. A hex file not processed with CHKSUM.EXE will result in incomplete programming of the target’s FLASH memory.
Either the CHKSUM.EXE calculated CRC and checksum bytes are copied or the original target’s hex data are copied. If the last two bytes of the target hex file are 0xFF (CHKSUM not used), the TFP2 overwrites the last two 0xFF bytes with its calculated checksum during the Hyper-Terminal file Download operation.
Rotate the Memory Size Switch to a proper setting and re-apply power to the TFP2 to update the Memory Size setting. If the target hex file has non-FF values in any of the last four bytes, the above power-on screen may display a “TFP2 EEPROM verification error.” message.
The TFP2 programs into the target memory what was previously downloaded (once downloaded, the last two words do not change during programming). The TFP2 then verifies the target memory to its internal memory resulting in the correct PASS indication even when user data is present.
4.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 provided on the enclosed diskette. Refer to Section 4.1 for instructions on using CHKSUM.EXE.
CRCs of the individual byte records within the hex file for appropriate PASS and FAIL indication. Additionally, the appropriate green or red LED is illuminated. The TFP2 EEPROM checksum calculation value is based on the memory size switch setting and is displayed for future ...
TSC Flash Programmer User’s Manual Possible reasons for a FAIL indication upon downloading a file to the TFP2: Downloaded file not Intel Hex format. USB to RS232 dongle communication problem (increase Line delay to 10 msec.). USB to RS232 dongle does not support XON/OFF.
Programming of the target’s FLASH memory begins with typing “P” followed by the “Enter” key. The green LED on the TFP2’s front panel blinks while the target FLASH memory is being mass erased, programmed and verified. The red LED will momentarily flash on at the start of programming. Upon completion of the target FLASH memory programming the following display appears.
TSC Flash Programmer User’s Manual Pressing the Program Button on the front panel of the TFP2 automatically proceeds with device programming regardless of the security bit setting. Figure 4-12: Programming Overrides Security Bit If the TFP2 cannot communicate with the target board, a “Command Timeout” message appears. Possible reasons for a Command Timeout indication upon programming the target board: Power not provided to target board preventing TFP2 communication with target board.
4.4 PREVIOUSLY PROGRAMMED DEVICE VERIFICATION A previously programmed device can be checked against the currently loaded image contained in the TFP2. Use the “C” command to perform this comparison. The green LEDs are illuminated if the flash contents of the device in the socket match the contents of the TFP2 EEPROMs.
FLASH memory, i.e. – code patch or parameters. Use the “D” command to download a code patch or a parameter table to the TFP2 EEPROM without erasing and reprogramming the entire TFP2 EEPROM memory. The memory locations to be reprogrammed are read from the downloaded Hex File.
Usage of the above parameter space assumes new program code does not exist at the previous parameter(s) address locations. The TFP2 also assumes that the parameters are stored as a contiguous block. This block of parameters can be located anywhere within the reserved memory locations.
Semiconductor provided TFP2 firmware file is first downloaded to the TFP2’s EEPROM. Transfer of this revised firmware file from the TFP2’s EEPROM to its local program memory is performed by typing “BOOT” at the command prompt. Detailed Boot Loader instructions are provided in the following section.
If the internal TFP2 EEPROM contents are corrupted (checksum comparison failure) or if the EEPROM contents do not represent a TFP2 code file (user’s target code), the BOOT command will NOT reprogram the TFP2. The current power-on screen is immediately displayed with no flashing PASS led when a problem is encountered with the EEPROM contents.
Red LED blinks after power-on – Incorrect Memory Switch setting: either position 6 or 7 selected. Red LED on 100% after TFP2 download – TFP2 download CRC failed. Red LED on 100% immediately upon Target programming – Target not responding upon attempted programming.
Page 40
TSC Flash Programmer User’s Manual User Manual: This User Manual contains proprietary product definition information of Teridian Semiconductor Corporation (TSC) and is made available for informational purposes only. TSC assumes no obligation regarding future manufacture, unless agreed to in writing.
Need help?
Do you have a question about the TFP2 and is the answer not in the manual?
Questions and answers