Skip navigation

Flasher ST7

Flash programmer for ST7 series of flash microcontrollers with on-chip flash

  • Small, compact housing
  • Easy to use windows program
  • Free updates
  • Serial (in target) programming supported
  • Programming / Verifying / Read back supported
  • OPTION BYTE Programming supported
  • 512 KB internal Flash memory to store target program
  • High speed programming: app 12 sec for 60 KB in serial mode with 16 MHz target clock for programming and verification

Getting Started

The Flasher PC software be downloaded from the Flasher Download page. Starting the setup program will guide you through the installation process.

Connecting FLASHER to the PC

  • Connect FLASHER to a PC running Windows using the NULL-modem cable and run the FLASHER software FLASHER.EXE.
  • Connect FLASHER to the power supply.
  • Set up the device via Options menu of PC program.
  • For in-circuit programming: Connect FLASHER to target system via customized interface cable.
  • Before connecting the target system to Flasher, ensure, there is no ground potential difference between target and Flasher, otherwise the Flasher may be damaged.
PinSignalFunctionHost Signal
2RxDSerial asynchronous (RS232) data inputSerial data output (TxD)
3 TxDSerial asynchronous (RS232) data output Serial data input (RxD)
5 GNDSignal groundSignal ground

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:

Flasher PC program

Using The FLASHER PC Program

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.

flasherst7exe.gif

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. For targets running at low frequencies, it may be necessary to set the speed option to Slow.

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 FLASH 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.

flasherst7deviceproperties.gif

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.

Stand-Alone Mode

Operating FLASHER in Stand-Alone Mode

After download the target program is stored in FLASHERs on board Flash memory until FLASHER is reconfigured for another target, or an other target application program is downloaded to FLASHER. Any number of microcontroller may then 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 the sectors of the FLASH and the interface. The progress and the result of the operation is indicated by the LED:

Status of LEDMeaning
GREEN, flashing Erasing / Programming / Verifying in progress
GREENProgramming operation successful
REDrogramming operation failed

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 ST7. 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.

flashersetup.gif

Additional options

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 ST7. 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.

flasherfillingandmisc.gif

Remote Control of Flasher ST7

FLASHER ST7 can be remote controlled by automated testers without the need of a connection to PC and Flashers PC program. Therefore FLASHER ST7 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:

flasher5remotecontrol.gif

ASCII Command Interface

FLASHER with firmware version 1.84 or above can be controlled without the need of Flashers PC program. FLASHER firmware contains an ASCII command interface function. Any application may send commands via RS232 to Flasher to start programming of target CPU. A manual which describes ASCII command interface can be downloaded from our download page.

Serial Programming

Using the Serial Link to Program in Circuit

FLASHER can be used for in circuit programming of ST7 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.

Technical Details

Serial programming of ST7 microcontrollers uses ICC protocol.
The commands which are used are described in the ST manual. In general, the sequence is as follows:

  • FLASHER resets the target CPU and then sets up the target to enter ICC mode 
  • FLASHER downloads an application program (RAMCODE) to target CPU 
  • FLASHER starts the target RAMCODE 
  • RAMCODE accepts commands from Flasher to read, clear or program the target CPU

Supported Devices

MCUFlash Memory SizeRAM SizePackage
ST72F26x group
ST72F260G14 KB256 BytesSO28/SDIP32
ST72F262G14 KB256 BytesSO28/SDIP32
ST72F262G28 KB256 BytesSO28/SDIP32
ST72F264G28 KB256 BytesSO28/SDIP32
ST72F321 group
ST72F321AR632 KB1 KB64-pin (TQFP64 10x10) (0.5 mm pitch)
ST72F321AR748 KB1536 Bytes64-pin (TQFP64 10x10) (0.5 mm pitch)
ST72F321AR960 KB2 KB64-pin (TQFP64 10x10) (0.5 mm pitch)
ST72F321J748 KB1536 Bytes44-pin (TQFP44 10x10) (0.8 mm pitch)
ST72F321J960 KB2 KB44-pin (TQFP44 10x10) (0.8 mm pitch)
ST72F321R632 KB1 KB64-pin (TQFP64 14x14) (0.8 mm pitch)
ST72F321R748 KB1536 Bytes64-pin (TQFP64 14x14) (0.8 mm pitch)
ST72F321R960 KB2 KB64-pin (TQFP64 14x14) (0.8 mm pitch)
ST72F324 group
ST72F324J28 KB384 Bytes42-pin (SDIP42 600mil)
ST72F324J416 KB512 Bytes42-pin (SDIP42 600mil)
ST72F324J632 KB1 KB42-pin (SDIP42 600mil)
ST72F324K28 KB384 Bytes32-pin (SDIP32 200mil)
ST72F324K416 KB512 Bytes32-pin (SDIP32 200mil)
ST72F324K632 KB1 KB32-pin (SDIP32 200mil)
ST72F324B group
ST72F324BJ4B16 KB512 Bytes42-pin SDIP
ST72F324BJ4T16 KB512 Bytes44-pin (TQFP44 10x10)
ST72F324BJ6T32 KB1 KB44-pin (TQFP44 10x10)
ST72F324BK4B16 KB512 Bytes32-pin SDIP
ST72F324BK4T16 KB512 Bytes32-pin (TQFP32 7x7)
ST72F324BK6T32 KB1 KB32-pin (TQFP32 7x7)
ST72F324L group
ST72F324LJ2T8 KB384 Bytes44-pin TQFP (0.8mm pitch)
ST72F324LJ4T16 KB512 Bytes44-pin TQFP (0.8mm pitch)
ST72F324LJ6T32 KB1 KB44-pin TQFP (0.8mm pitch)
ST72F324LK2T8 KB384 Bytes32-pin TQFP (0.8mm pitch)
ST72F324LK4T16 KB512 Bytes32-pin TQFP (0.8mm pitch)
ST72F324LK6B32 KB1 KB32-pin (SDIP32 400mil)
ST72F324LK6T32 KB1 KB32-pin TQFP (0.8mm pitch)
ST72F325 group
ST72F325AR6T32 KB1 KB64-pin (LQFP64 10x10)
ST72F325AR7T48 KB1536 Bytes64-pin (LQFP64 10x10)
ST72F325AR9T60 KB2 KB64-pin (LQFP64 10x10)
ST72F325C6T32 KB1 KB48-pin (LQFP48 7x7)
ST72F325C7T48 KB1536 Bytes48-pin (LQFP48 7x7)
ST72F325C9T60 KB2 KB48-pin (LQFP48 7x7)
ST72F325J4T16 KB512 Bytes44-pin (LQFP44 10x10)
ST72F325J6B32 KB1 KB42-pin (SDIP42)
ST72F325J6T32 KB1 KB44-pin (LQFP44 10x10)
ST72F325J7T48 KB1536 Bytes44-pin (LQFP44 10x10)
ST72F325J9T60 KB2 KB44-pin (LQFP44 10x10)
ST72F325K4B16 KB512 Bytes32-pin (SDIP32)
ST72F325K4T16 KB512 Bytes32-pin (LQFP32 7x7)
ST72F325K6B32 KB1 KB32-pin (SDIP32)
ST72F325K6T32 KB1 KB32-pin (LQFP32 7x7)
ST72F325R9T60 KB2 KB64-pin (LQFP64 14x14)
ST72F325S4T16 KB512 Bytes48-pin (LQFP48 7x7)
ST72F325S6T32 KB1 KB48-pin (LQFP48 7x7)
ST72F32A group
ST72F32AJ2T8 KB384 Bytes44-pin (TQFP44 10x10)
ST72F32AK2B8 KB384 Bytes32-pin SDIP
ST72F32AK2T8 KB384 Bytes32-pin (TQFP32 7x7)
ST72F34x group
ST72F340K4T616 KB1 KBTQFP32
ST72F340S4T616 KB1 KBTQFP44
ST72F344K4T616 KB1 KBTQFP32
ST72F344S4T616 KB1 KBTQFP44
ST72F345C4T616 KB1 KBLQFP48
ST72F521 group
ST72F521AR632 KB1 KB64-pin (TQFP64 10x10) (0.5 mm pitch)
ST72F521AR960 KB2 KB64-pin (TQFP64 10x10) (0.5 mm pitch)
ST72F521M960 KB2 KB80-pin (TQFP80 14x14) (0.65 mm pitch)
ST72F521R632 KB1 KB64-pin (TQFP64 14x14) (0.8 mm pitch)
ST72F521R960 KB2 KB64-pin (TQFP64 14x14) (0.8 mm pitch)
ST72F561 group
ST72F561J416 KB512 Bytes44-pin (TQFP44 10x10) (0.8 mm pitch)
ST72F561J632 KB1 KB44-pin (TQFP44 10x10) (0.8 mm pitch)
ST72F561J748 KB1536 Bytes44-pin (TQFP44 10x10) (0.8 mm pitch)
ST72F561K416 KB512 Bytes32-pin (TQFP32 7x7) (0.8 mm pitch)
ST72F561K632 KB1 KB32-pin (TQFP32 7x7) (0.8 mm pitch)
ST72F561K960 KB2 KB32-pin (TQFP32 7x7) (0.8 mm pitch)
ST72F561R632 KB1 KB64-pin (TQFP64 14x14) (0.8 mm pitch)
ST72F561R748 KB1536 Bytes64-pin (TQFP64 14x14) (0.8 mm pitch)
ST72F561R960 KB2 KB64-pin (TQFP64 14x14) (0.8 mm pitch)
ST7DALI group
STDALI8448 Bytes384 BytesSO20 (300mil)
ST7FLCD1 group
ST7FLCD160 KB2 KBSO28
ST7FMC1 group
ST7FMC1K2B68 KB384 Bytes32 Pin SDIP
ST7FMC1K2T38 KB384 Bytes32-pin TQFP (0.8 mm pitch)
ST7FMC1K2T68 KB384 Bytes32-pin TQFP (0.8 mm pitch)
ST7FMC1K2TC8 KB384 Bytes32-pin TQFP (0.8 mm pitch)
ST7FMC1K4T616 KB768 Bytes32-pin TQFP (0.8 mm pitch)
ST7FMC2 group
ST7FMC2M9T660 KB1536 Bytes80-pin TQFP (0.65 mm pitch)
ST7FMC2N6B632 KB1 KB56-pin SDIP
ST7FMC2R6T632 KB1 KB64-pin (TQFP64 14x14) (0.8 mm pitch)
ST7FMC2R7T648 KB1536 Bytes64-pin (TQFP64 14x14) (0.8 mm pitch)
ST7FMC2R9T660 KB1536 Bytes64-pin LQFP (0.8 mm pitch)
ST7FMC2S4T616 KB768 Bytes44-pin (TQFP44 10x10) (0.8 mm pitch)
ST7FMC2S4TC16 KB768 Bytes44-pin (TQFP44 10x10) (0.8 mm pitch)
ST7FMC2S6T632 KB1 KB44-pin (TQFP44 10x10) (0.8 mm pitch)
ST7FMC2S6TC32 KB1 KB44-pin (TQFP44 10x10) (0.8 mm pitch)
ST7FOX group
ST7FOXA0B62 KB128 BytesDIP8
ST7FOXA0M62 KB128 BytesSO8 (150mil)
ST7LITE0 group
ST7Lite021536 Bytes128 BytesSO16 (150mil), DIP16
ST7Lite051536 Bytes128 BytesSO16 (150mil), DIP16
ST7Lite091664 Bytes128 BytesSO16 (150mil), DIP16
ST7LITE1 group
ST7Lite104 KB256 BytesSO20 (300mil), SDIP20
ST7Lite154 KB256 BytesSO20 (300mil), SDIP20
ST7Lite194224 Bytes256 BytesSO20 (300mil), SDIP20
ST7LITE1xB group
ST7Lit10B2 KB256 BytesDIP16, SO-16W
ST7Lit10B2 KB256 BytesDIP20, SO-20
ST7Lit15B2 KB256 BytesDIP16, SO-16W
ST7Lit15B2 KB256 BytesDIP20, SO-20
ST7Lit19B2 KB256 BytesDIP16, SO-16W
ST7Lit19B4 KB256 BytesDIP20
ST7Lit19B2 KB256 BytesDIP20, SO-20
ST7LITE2 group
ST7Lite208 KB384 BytesSO20 (300mil), SDIP20
ST7Lite258 KB384 BytesSO20 (300mil), SDIP20
ST7Lite298448 Bytes384 BytesSO20 (300mil), SDIP20
ST7LITE3 group
ST7FLite308 KB384 BytesSO20 (300mil), SDIP20
ST7FLite358 KB384 BytesSO20 (300mil), SDIP20
ST7FLite398448 Bytes384 BytesSO20 (300mil), SDIP20
ST7SUPERLITE group
ST7LiteS21 KB128 BytesSO16 (150mil), DIP16
ST7LiteS51 KB128 BytesSO16 (150mil), DIP16
ST7ULTRALITE group
ST7LiteU052 KB128 BytesSO8 (150mil), DIP8
ST7LiteU092176 Bytes128 BytesSO8 (150mil), DIP8
ST7LiteUS21 KB128 BytesSO8 (150mil), DIP8
ST7LiteUS51 KB128 BytesSO8 (150mil), DIP8

Flasher ST7 Specifications

Target System Interface for Flasher ST7

The target system interface from FLASHER to target system has to be connected to the 10 pin connector, (pin 1 is marked at the connector) as shown in the diagram.

Pin nr.SignalFunctionSpecification/remarks.
1GNDCommon signal ground---
2ICCDATAData signal for ICC protocol communicationOpen collector output with active pull up
3GNDCommon signal ground---
4ICCCLK Clock signal for ICC protocol communicationOpen collector output with active pull up
5GND Common signal ground---
6 RESETTarget CPU resetFLASHER output (Note 1)
7VDD Target supply voltage Supplies FLASHERs target interface
8ICCSEL/VPP Programming voltage for target CPU12V programming voltage, also used to enter ICC mode
9OSC_CLKTarget CPU clockSupplies system clock to target
10----Not used for ST7, leave open

Note 1: If RESET of target system is driven by a reset circuitry with active high driver, RESET output of FLASHER must not be connected directly to CPU reset of target.

flasherst7_targetconnectst7_390.gif

The Following Table Lists All Major Modifications of Flasher Software

VersionNew featuresImprovements / CorrectionsFlasher type
V2.14NONEUnder special circumstances the firmware update failed. Fixed. Flasher 5 PRO
V2.12aRange of selectable serial ports increased.A serial com port in the range 1-256 can be selected in the Flasher software.Flasher 5R3 / 5 PRO
V2.12 NONE Under special circumstances the Flasher lost the internal data after a power cycle. Fixed. Flasher 5 PRO
V2.10Support for USB added.
Support for Ethernet added.
The Flasher software can now communicate with the Flasher 5 PRO via USB or Ethernet. On USB the Flasher 5 PRO is identified via serial number. On Ethernet the Flasher 5 PRO can be identified either via IP address or serial number. Flasher 5 PRO
V2.00sWebserver added.
Telnet server added.
Flasher 5 PRO now comes with a webserver. A telnet server is included which allows controlling the Flasher via Ethernet.
The telnet server processes the same commands as used with ASCII mode over UART.
Initially, Flasher 5 PRO connects to the Ethernet using DHCP. The tool 5PRO_UDPDiscover can be used to examine the IP address.
The webserver may then be used to assign a fixed IP address.
Flasher 5 PRO
V2.00sR8C/34W series supported
R8C/34X series supported
R8C/34Y series supported
R8C/34Z series supported
R8C/35D series supported
M16C/63 series, additional devices supported
NONE.Flasher 5R3 / 5 PRO
V2.00qNONE.Firmware update modified for Flasher 5 PRO. The previous version did not allow downgrading to an older version.
Downloading and starting the new firmware V2.00q modifies the bootloader of Flasher 5 PRO which then allows downgrading the firmware.
Flasher 5 PRO
V2.00p Asynchronous serial support for M16C/M32C/R32C
with Flasher 5 PRO.
Programming speed improved for R8C.
Problem with low baud rates for R8C/3x and R8C/Lx devices fixed. Could not be used in previuos versions of the firmware.
Blank check time improved for R8C/3x and R8C/Lx devices. PC software 2.00p and a firmware update to version 2.00p is required to use the improvements.
Flasher 5 PRO
V2.00o R32C series supported
with Flasher 5 PRO.
NONE. Flasher 5 PRO
V2.00nM7900 series supported
with Flasher 5 PRO.
Target reset driver firmware corrected. The push-pull output did not work in previous version.
The reset output was driven in open drain configuration always, regardless the setup options.
Flasher 5 PRO
V2.00mR8C/2K supported.
R8C/2L supported.
NONE.Flasher 5R3 / 5 PRO

10-pin Needle Adapter

SEGGER offers the 10-pin Needle Adapter, which has been designed to connect Flasher 5, Flasher 5 PRO, Flasher ST7 or Flasher STM8 to a PCB which does not come with a mating connector or programming header. The designed pattern with 3 locating pins ensures that the adapter can only be connected in one way.

The 10-pin needle adapter allows manufacturers to save costs and space on their PCBs since there is no need to provide the PCB with additional connectors. It adapts from the 10-pin, 0.1 inch connector to a 10-pin, 0.05 inch needle pattern. 

J-Link_Needle_Adapter_Needle_500x.jpg

Package content

SEGGER - Flasher ST7

Flasher ST7

Flasher ST7 Cable IDC

IDC target interface cable

Null modem cable

RS232 D-Sub9 null modem cable, female/female, 3.0m

Power_Supply_EU_PackageContent_x500..png

Power supply