Home arrow Product Articles arrow Additional Flasher ST7 Information
   
Additional Flasher ST7 Information PDF Print E-mail

Click here for ordering information


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:

Dialog box Device properties 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.

Programming/clearing/verifying/blank check

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 Screenshot target menu

screenshot dialog box programming 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 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.

Additional options

Filling & Misc. 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.

Operating FLASHER in stand-alone mode

After download the target program is stored in FLASHERs on board Flash memory until FLASHER is reconfigured for an other 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 LED Meaning
GREEN, flashing Erasing / Programming / Verifying in progress
GREEN Programming operation successful
RED Programming operation failed

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:

Flasher Remote control circiutry

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

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.

Basic configuration

Serial programming, 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

Error messages

The following error messages can occur during operation of FLASHER (shown in red on your PC)

Code Error messages Meaning/remedy
1 Erase failed Erase operation has failed.
2 Write failed Write operation has failed.
3 Verify failed Verification failed. Loaded program and contents of the flash-memory are not identical.
4 Blank check failed Chip is not blank.
5 Flash write/erase timed out Could not write into flash memory, the max. waiting time has been exceeded.
7 Canceled Last operation has been canceled by the user.
51 VCC fail VCC of target system outside specified range.
Check supply of your target system
55 CRC check in programmer failed After download or after programming of target CPU, the CRC of Flashers memory changed.
Check supply of Flasher to avoid problems
56 Internal VCC drop during operation Check Flashers power supply
58 DAC for Vpp not calibrated Flasher is unable to build VPP for Target CPU, because Calibration data for DAC was lost.
75 RAMCode does not work After download to target, the RAMCode did not respond to Flasher.
Check device configuration.
76 RAMCode does not respond command RAMCode did not respond to Flashers command.
Reset target and retry operation.
80 Could not enter ICC mode Target did not enter ICC mode.
Check configuration and device settings.
Check target connection.
81 Timeout during serial data transfer Target did respond in specified time.
Check configuration and device settings.
Check target connection.
82 Option byte read failed Retry operation.
Check configuration and device settings.
Check target connection.
83 Option byte programming failed Retry operation.
Check target connection.
If target was read protected, Option bytes can not be modified.
Select "Clear All" function first.
84 Program All function failed "Clear All" function terminated in error. Retry operation.
Check target connection.
85 Target is read protected Target could not be read, because target is read-protected by option byte settings.

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 ICCCLK and ICCDATA signals work properly.

Support

For support questions please send an email to .

Updating FLASHER's software

FLASHER contains a microcontroller with flash memory and a boot loader. FLASHER's firmware can be updated using the serial interface of any PC by starting the Flasher software and select the "Options | Download Firmware" menu.

Download the latest software here: Version 1.92d [848 KB][Updated 05-05-24]

Download the ASCII command interface manual: Flasher ASCII interface manual [PDF]
Download the latest user's manual: Flasher ST7 manual 1.80 [185 KB][Updated 03-09-22]



 
< Prev   Next >


© Taylor River Real Time 2005 all rights reserved Logout