Teridian TFP2 User Manual

Teridian TFP2 User Manual

Tsc flash programmer
Hide thumbs Also See for TFP2:
Table of Contents

Advertisement

Quick Links

TSC Flash Programmer User's Manual
TSC Flash Programmer
Model TFP2
USER'S MANUAL
4/27/2007
Revision 1.0
Teridian Semiconductor Corporation
6440 Oak Canyon Rd.
Irvine, CA 92618-5201
Phone: (714) 508-8800 ▪ Fax: (714) 508-8878
http://www.teridian.com/
meter.support@teridian.com
Revision 1.0
1 of 40
© Copyright 2007 Teridian Semiconductor Corporation

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TFP2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Teridian TFP2

  • Page 1 TSC Flash Programmer Model TFP2 USER’S MANUAL 4/27/2007 Revision 1.0 Teridian Semiconductor Corporation 6440 Oak Canyon Rd. Irvine, CA 92618-5201 Phone: (714) 508-8800 ▪ Fax: (714) 508-8878 http://www.teridian.com/ meter.support@teridian.com Revision 1.0 1 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • 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.
  • Page 3 TSC Flash Programmer User’s Manual TSC Flash Programmer Model TFP2 USER’S MANUAL Revision 1.0 3 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • Page 4: Table Of Contents

    Code Or Parameter Update ......................... 33 Parameter Preservation Programming ....................... 33 BOOT LOADER............................. 35 Boot Loader Operation ..........................35 STATUS INDICATIONS..........................37 Normal Operation ............................37 Error Conditions............................37 TFP2 HARDWARE SPECIFICATIONS ......................39 Revision 1.0 4 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • Page 5 Figure 4-3: TFP2 Power-Up Information Display....................22 Figure 4-4: TFP2 Help Menu............................. 23 Figure 4-5: TFP2 Intel Hex File Download to Internal EEPROM Command ............26 Figure 4-6: TFP2 Select Target Intel Hex FIle ......................26 Figure 4-7: TFP2 Download in Progress ......................... 27 Figure 4-8: TFP2 Download Complete ........................
  • Page 6 Table 4-1: CHKSUM Utility Addresses ........................24 Table 4-2: CHKSUM Utility Output Data ........................24 Table 4-3: CHKSUM Utility Data Dependency......................25 Table 4-4: Parameter Space Address Location ...................... 34 Revision 1.0 6 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • Page 7: Getting Started

    (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.
  • Page 8: Demo Board Contents

    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): ...
  • Page 9: Target Code Initialization

    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.
  • Page 10: Power Supply Connection

    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.
  • Page 11: Rs232 Serial Connection

    Properties and then by pressing the Configure button. If the Configure button is not active, select Call Disconnect. Port speed and flow control are configured under the General tab, and bit settings are configured by pressing the Configure button (Figure 2-4), as shown below. Revision 1.0 11 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • Page 12: Figure 2-3: Port Speed, Port Bit Setup And Flow Control

    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 “...
  • Page 13: Target Flash Memory Programming

    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.
  • Page 14: Figure 3-3: Target-Ls Connector Pin Locations (Looking At Tfp2 Endplate)

    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...
  • Page 15: Figure 3-4: Target-Hs Connector Pin Locations (Looking At Tfp2 Endplate)

    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.
  • Page 16: Standalone Programming

    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.
  • Page 17: Pc User Interface Programming

    Refer to Chapter 4 for instructions on using the PC User Interface. Figure 3-6: PC User Interface Configuration (shown with Target-HS cable for example) NOTE: The TFP2 must be powered first before connecting the target board to the TFP2. Revision 1.0 17 of 40 ©...
  • Page 18: Ate Factory Automation Programming

    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...
  • Page 19: Figure 3-8: Ate Connector Pin Locations (Looking At Tfp2 Endplate)

    TSC Flash Programmer User’s Manual Figure 3-8: ATE Connector Pin Locations (looking at TFP2 endplate) ATE Connector part numbers: Connector Housing, 10 pin, 0.100 AMP 3-87977-0 (Digi-Key A25835) Connector Pins, Crimp AMP 102348-2 (Digi-Key A25943-ND) ATE interface Logic Level Specifications are given below:...
  • Page 20: Figure 3-9: Ate Interface Flow Chart

    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...
  • Page 21: Pc User Interface

    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.
  • Page 22: Figure 4-2: Chksum.exe Warning Display

    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.
  • Page 23: Figure 4-4: Tfp2 Help Menu

    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.
  • Page 24: Table 4-1: Chksum Utility Addresses

    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.
  • Page 25: Table 4-3: Chksum Utility Data Dependency

    TSC Flash Programmer User’s Manual Target Data after using TFP2 Target Address Target Address Comments 0xFFFC 0xFFFE Hex File with 0xFF 0xFFFF Teridian Checksum Program Verify Passes Download Verify Passes Power-Up Verify Passes Hex File with 0xFF after CHKSUM v1.5...
  • Page 26: Tfp2 Eeprom Download

    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.
  • Page 27: Figure 4-7: Tfp2 Download In Progress

    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 ...
  • Page 28: Figure 4-9: Tfp2 Download Fail Due To Incorrect Memory Size Setting

    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.
  • Page 29: Target Flash Memory Programming

    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.
  • Page 30: Figure 4-12: Programming Overrides Security Bit

    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.
  • Page 31: Previously Programmed Device Verification

    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.
  • Page 32: Device Status Check

    If the security bit is set, the target’s FLASH memory cannot be read. Therefore, the Status results cannot be displayed as shown below. Figure 4-16: Device Checksum and Security Bit Status with Security Bit Set Revision 1.0 32 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • Page 33: Code Or Parameter Update

    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.
  • Page 34: Figure 4-18: Parameter Mode Status

    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.
  • Page 35: Boot Loader

    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.
  • Page 36: Figure 5-2: Tfp2 Boot Completion

    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.
  • Page 37: Status Indications

    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 38 ProgramActive pin LO and FAIL pin HI immediately - Target not responding upon attempted programming. ProgramActive pin LO and FAIL pin HI after ProgramActive was HI- Target FLASH memory fails verification. Revision 1.0 38 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • Page 39: Tfp2 Hardware Specifications

    Input Voltage Hi +2.0V to +3.3V Output Voltage Lo +0.45V max @ 8 ma Output Voltage Hi +2.4V min @ 2 ma TCLK Frequency 10 MHz to 48 MHz Revision 1.0 39 of 40 © Copyright 2007 Teridian Semiconductor Corporation...
  • 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.

Table of Contents