Segger Logo Embedded Software Solutions
Software productsHardware productsDownloadsPricesCustomersOur PartnersSitemapForumAbout us
Flasher 5T
| Flasher 5 | Flasher 5T | Flasher ST7 |

Flasher 5T: Programs Toshiba TLCS-870 and TMP91 series of flash microcontrollers

Flasher 5T
Flasher 3

Features

  • Small, compact housing
  • Easy to use windows program
  • Serial (in target) programming supported
  • Programming /Clearing/ Verifying / Read back supported; High speed programming
  • 512 KByte internal Flash memory to store target program
  • Can be used in a production environment
  • PC program allows batch mode processing for usage in automated test systems.
  • Once set up, Flasher can be controlled without the use of PC program
  • Remote control functions for automated testers
  • ASCII command interface for automated programming
Reads / programs MCU in serial mode (in circuit).

Supported microcontrollers

The following microcontrollers are supported:
TMP86FM25F; TMP86FM29UG; TMP86FM24F;
TMP91FY27

Target system interface

Info on target interface of Flasher 5

Working environment

Host System

IBM PC/AT or compatible. CPU: 486 (or better) with at least 8Mb of RAM, running Windows 95 / 98 / 2000 / NT / XP.
Batch mode requires Windows 2000/NT/XP.
It needs to have an RS232 interface available for communication with FLASHER.

Power supply

Flasher requires 8 - 24V DC, min. 40mA. Please use the power supply which comes with the tool. Flasher is protected against polarity reversion. Please avoid excess voltage. Please note: For targets requiring external programming voltage (usually 12V), the minimum supply voltage is 14V. A 9V battery can be used for single voltage CPUs.
FLASHER can be supplied from target, if target is operated above 4.5V and single voltage target processor is used.

Installing the FLASHER PC-software

The PC software FLASHER.EXE is distributed on the accommodating 3.5" floppy disk; In order to use the software, simply copy the setup program onto your hard drive. Starting the setup progrom will guid you through the installation process.

Connecting FLASHER to the PC

PC<-> FLASHER interface cable

A standard serial interface cable (null modem) can be used to connect FLASHER to the PC.
The pin assignment of the 9 pin SUB-D male RS-232 interface connector is as follows:

Pin no. Signal Function Host-Signal
2 RxD Serial asynchronous (RS232) data input Serial data output (TxD)
3 TxD Serial asynchronous (RS232) data output Serial data input (RxD)
5 GND Signal ground Signal ground

Getting started

  1. Connect FLASHER to a PC running Windows 95/98/2000/XP or NT using the NULL-modem cable and run the FLASHER software FLASHER.EXE
  2. Connect FLASHER to the power supply.
  3. Set up the device via Options|Device menu of PC program
  4. For in-circuit programming: Connect FLASHER to target system via customized interface cable.

Using the FLASHER PC program

General

Flasher comes with an easy to use Windows program. It allows reading of program files in Motorola or Intel hex format. The following is a screen shot of the FLASHER.EXE with loaded target program

Communication between PC and FLASHER

Make sure the power supply is connected (one of FLASHERs LEDs should be illuminated) and FLASHER is connected to your PC with a NULL-modem cable as supplied. If the PC-program displays anything other than "No communication" under flasher status, the communication between Flasher and your PC is functioning.

First time setup of FLASHER

When using FLASHER for the first time, please select the menu point Options->Device. You will see the following dialog box:

First carefully select the correct target device. A false selection may damage your target! Then select the chip area you would like to access, the sectors of the on chip-flash and the interface you would like to use. The serial interface requires a cable to connect FLASHER to your target.
Choose one of the following option:

Start/Endbank to select individual non adjacent banks.

Individual banks to select individual non adjacent banks.

For currently supported targets, the speed setting does not matter

Now you should be able to blank check, clear, program, verify or read the target chip in serial mode (if your target is properly connected to the FLASHER). The first time you program or verify, the PC downloads your your target program to the FLASHER, where it is stored in the on board RAM chip for programming or verification. The PC-Program stores all setup information in the registry; when you start the program the next time, it will start with the same settings.

Programming/clearing/verifying/blank check

Select one of the commands in the TARGET menu to start the operation. Note that some of the menu points may be grayed if you have no connection to the target or no file loaded
A modal dialog box will indicate the status and progress of the operation; the operation can be canceled hitting the CANCEL button

SETUP

Dialog box Setup The operating mode of FLASHER may be changed using the setup dialog from the Options menu.Power up mode, Power down mode and Reset mode should not be changed for normal operation. Setting of Power down mode has no effect on FLASHER 5T.You may change the reset active and reset inactive time, if required by your target hardware. All setup settings are stored permanently in FLASHER after pressing 'Save setup' button.

Additional options

The Filling & Misc. options from the Options menu may be altered if required.
The fill byte is programmed in all target memory locations that are not included in your source file. Improper setting of fill byte may lock your target CPU!
When programming blank (virgin) CPUs 'Automatic clear befor program' is not required, so this feature can be disabled to speed up programming procedure. Detailed errorlevel on return option may be used to return a detailed errorlevel to the calling program when Flasher is used in batchmode.

Password

When programming the chip in serial mode (in target), a passcode of up to 15 bytes has to be supplied. If the target CPUs reset vector area is blank, this passcode does not matter. However, after programming, these values need to be set correctly, because otherwise FLASHER will be unable to communicate with the target CPU. The passcode can be set using the menu point Options|Passcode. The count address denotes the location of the length counter for the passcode in target CPUs memory. The compare start address is the location of the consecutive passcode bytes in target memory. For more detailed information, please consult the TOSHIBA CPUs users manuals. The menu point "Edit|Copy Passcode into loaded file" can be used to copy the passcode into your application program before download.

Operating FLASHER in stand-alone mode

After download the target program and all settings are stored in FLASHERs on board FLASH memory and remain valid until new settings or data are sent to FLASHER. Any number of microcontrollers may now be programmed by FLASHER (one at a time) without the need of a host PC, by simply pressing the start button. FLASHER will use the settings which have been made in the PC-program. This includes the selection of target address range as well as any options. Whether the target CPU will be erased before programming depends on setting of option "Automatic clear before program". Progress and result of the operation is indicated by FLASHERs LEDs:

Status of LED Meaning
GREEN, flashing Erasing / Programming / Verifying in progress
GREEN Programming operation successful
RED Programming operation failed

 

Remote control

FLASHER 5T can be remote controlled by automated testers without the need of a connection to PC and Flashers PC program. Therefore FLASHER 5T is equipped with additional hardware control functions, which are connected to the SUBD9 male connector, normally used as RS232 interface to PC. The following diagram shows the internal remote control circuitry of FLASHER:

Flasher Remote control circiutry

 

Pin No. Function Description
1 START A positive pulse of any voltage between 5 and 30V with a duration of min. 30 ms starts itAutoln function (Clear / Program / Verify) on falling edge of pulse. Whether Clear is executed depends on Options | Filling & misc. | Automatic clear before pro- gram.
4 BUSY As soon as Auto-Function is started, BUSY becomes active, which means that tran- sistor is switched OFF.
7 OK This output reflects result of last action. It is valid after BUSY turned back to passive state. The output transistor is switched ON to reflect OK state.
5 GND Common Signal ground

 

Using the serial link to program in circuit

FLASHER can be used for in circuit programming of supported CPUs, which incorporate built in firmware for serial update of user flash.
The target system has to be designed to support this mode of operation. Refer to target specific connection diagrams or Users manuals
of your target CPU. Basic configuration

Serial programming, technical details for TLCS-870C or TMP91 CPUs

Serial programming initially uses a asynchronous communication to connect to the target CPUs internal bootloader. When connection was successful, a program is downloaded into target CPUs RAM and then communication is switched to Flashers own protocol using a synchronous communication format. This communication is independent of target CPU clock and is faster than communication via asynchronous format.

FLASHER resets the target system by pulling the /Reset line low for a period of time which is set as Reset active time in Options|Setup dialog of PC program. FLASHER the sets up the Test and Boot signals to target as required to enter boot mode of target CPU. FLASHER releases reset waits for the Reset inactive time, nominal 500 ms, (tRD) in order to allow the target system to recover from reset. This time can also be set in Options|Setup dialog via PC program. FLASHER starts communication to targets bootloader in async data format by sending a specific byte (normally 0x5A) via RxD line at 9600 Baud. Target CPU should respond with the same byte on TxD line.

FLASHER outputs one clock (clock changes from high to low and back). BUSY should now be active (high). If it is not active, FLASHER stops with error message 41: Target chip: Busy does not react FLASHER outputs 7 more data bits ( 7 clock cycles) and waits for BUSY to go low. More data bytes are output (or read) the same way.

Serial target interface circuitry

Error messages

Error messages are documented in the Flasher online help.

Trouble shooting

Proper operation of FLASHER in serial mode depends on your target system. If you have any
trouble operating FLASHER in serial mode, please:

  • Check your target hardware
  • Check the connecting cable
  • Use an oscilloscope to check the state of the signals on the target connector,
    especially to check if the target CPU is RESET properly and the target CPUs BUSY signal works properly.
  • Check whether Flasher initially sends one byte to target via RxD after reset is released.

Support

For support questions please send an email to support@segger.com.

Copyright SEGGER Microcontroller GmbH & Co.KG. All rights reserved.
For more information, please visit our web site www.segger.com or contact us at info@segger.com
Last update: December 7, 2007