You are on page 1of 79

Raytheon Anschtz GmbH

Postfach 1166
D 24100 Kiel
Germany
Tel +494 3130 190
Fax +494 3130 19501
Email Service@raykiel.com
www.raytheonanschuetz.de

Updating software
in in microprocessors
with internal Flash memory

Operator Manual

3551E/146006.DOC162 Edition: January 2009


Weitergabe sowie Vervielfltigung dieser Unterlage, Verwertung und Copying of this document, and giving it to others and the use or
Mitteilung ihres Inhaltes nicht gestattet, soweit nicht ausdrcklich communication of the contents thereof, are forbidden without express
zugestanden. Zuwiderhandlungen verpflichten zu Schadenersatz. authority. Offenders are liable to the payment of damages.

Toute communication ou reproduction de ce document, toute Sin nuestra expresa autorizacin, queda terminantemente prohibida la
exploitation ou communication de son contenu sont interdites, sauf reproduccin total o parcial de este documento, as como su uso
autorisation expresse. Tout manquement cette rgle est illicite et indebido y/o su exhibicin o comunicacin a terceros. De los infractores
expose son auteur au versement de dommages et intrts. se exigir el correspondiente resarcimiento de daos y perjuicios.
Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Section Contents Page

1 Overview of future generation microcontrollers .................1

2 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 Device and software required . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Reference: Controller type / device and device / controller type . . . . . . . . . 5

3 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1 Installing the tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Installation notes for the tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.1 Siemens Memtool (V 2.1.2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.2 Infineon Memtool (V 3.0.9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.3 ST10 Memtool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2.4 Fujitsu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

4 Flash procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2 Flashing type Siemens (CA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2.1 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2.1.1 Preparatory action on the PC/laptop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2.1.2 Flash procedure preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2.2 Flashing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.3 Flashing type Siemens (CB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3.1 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3.1.1 Preparatory action on the PC/laptop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3.1.2 Flash procedure preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.3.2 Flashing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.4 Flashing type Siemens (AE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.4.1 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.4.1.1 Preparatory action on the PC/laptop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.4.1.2 Flash procedure preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.4.2 Flashing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.5 Flashing type Siemens CR16F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.5.1 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.5.1.1 Preparatory action on the PC/laptop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.5.1.2 Flash procedure preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.5.2 Flashing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.6 Flashing Type Siemens (AC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.7 Flashing type Siemens ST10F 167 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.7.1 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.7.1.1 Preparatory action on the PC/laptop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

3551E/148006.DOC162 I Edition: April 2004


Updating software
in microprocessors
with internal Flash memory

4.7.1.2 Flash procedure preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41


4.7.2 Flashing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.8 Flashing Type SGS Thomson 168 (Q6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.8.1 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.8.1.1 Preparatory action on the PC/laptop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.9 Flashing Type SGS Thomson ST10 2.02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.9.1 Preparatory action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.9.1.1 Preparatory action on the PC/laptop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.10 Flashing Type Fujitsu FW16 (G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.10.1 Flashing Type Fujitsu FW16 (G), older version . . . . . . . . . . . . . . . . . . . . . 57
4.10.2 Flashing Type Fujitsu FW16 (G), newer version . . . . . . . . . . . . . . . . . . . . 62
4.10.3 Flashing Type Fujitsu FRseries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.11 Special cases relating to Gyro Star II . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

5 Additional information about the ST10 flash tool . . . . . . . . . . . . . . . . . . 73

Edition: April 2004 II 3551E/164006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

1 Overview of future generation microcontrollers

Use the hyperlinks in the overview below to jump to the flash procedure concerned.

Type Siemens (AE)


This type of controller is used in older devices.

SIEMENSOnChip Memory Programming SIEMENS


Tool Version 2.1.2 is required in order to flash SAB C167CS32FM
this EPROM. ES L.1
BOSCH
LINKS GERMANY
Flash Procedures general information
Type AE flash Procedure AE

Siemens and also Infinion (CB)


This type is very rare, but identical to type AE.

SIEMENSOnChip Memory Programming SIEMENS


Tool Version 2.1.2 is required in order to flash SAK C167CS32FM
this EPROM. ES L.1
BOSCH
LINKS: GERMANY
Flash Procedures general information
CB
Type CB flash Procedure

Type Siemens CR16F


This type of controller is used in older devices.

SIEMENSOnChip Memory Programming SIEMENS


Tool Version 2.1.2 is required in order to flash
this EPROM. SIEMENS C167 CR16FM
ES 2.1
LINKS: BOSCH
Flash Procedures general information GERMANY
Type C167 flash procedure
??

3551E/146006.DOC162 1 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Type SGS Thomson ST10 F167


This type of controller is used in older devices.

SIEMENSOnChip Memory Programming


Tool Version 2.1.2 is required in order to flash ST 10F 167
this EPROM. EBB AO33892
E Bosch 1992
LINKS: MALTA
Flash Procedures general information
Type 167 flash Procedure

Type Siemens / Infinion (CA)

SIEMENSOnChip Memory Programming


Tool (Infinion Memtool) Version 3.0.9 is required
in order to flash this EPROM. SIEMENS
SAK C167CS32FM
LINKS: ES 2.1
Flash Procedures general information BOSCH
Type CA flash Procedure
GERMANY
CA

Type SGS Thomson (Q6)

The ST10 F168software tool is necessary in


order to flash this EPROM. ST 10F 168Q6
EBB AO33892
LINKS: E Bosch 1992
Flash Procedures general information MALTA
Type (Q6) flash procedure

Additional information about the ST10 flash


tool

Edition: January 2009 2 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Siemens/Infinion (AC)

The Infineon Memtool 4.1.4 is necessary to


flash this EPROM..
Infineon
SAKXC167CI
16F40F
LINKS:
Flash Procedures general information

Type Fujitsu FW16 (G), older version

The fw16.exe software tool is necessary in


order to flash this EPROM. Z JAPAN
MB 90F497G
LINKS:
Flash Procedures general information 0035 Z02
Type FW16(G) flash procedure

Type SGS Thomson ST10 V2.02


Type Fujitsu FW16 8G), newer version
Type Fujitsu FRseries

3551E/146006.DOC162 3 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

2 General Information

The instructions that follow explain the procedure for updating the software in
microcontrollers with integral flash memory.
Each of the controllers stated below is mounted on a PCB containing a SUBD 9pin
plug connector. In order to flash a controller of this type, the relevant device must be
open, the programming adapter connected and the relevant device switched on.
Please see the flash procedures for further details and any special features regarding
the devices.

Microcontrollers with integral flash memory should


be updated (flashed) only by fully trained
members of staff.

2.1 Device and software required

In order to update software, the following devices and software are required:
PC or Laptop with serial interface (SUBD, 9 pin).
Programming adapter type 146006 (see figure 1).
Floppy disc or other data medium containing the HEX file for transfer.
CDROM containing:
PROG0047 EXX programming tool (XX = version number).
Microprocessor manufacturer tools needed to update the microcontroller.
Manual entitled Updating software in microcontrollers with internal
Flash memory

LED Fujitsu / Siemens


5V2
MICROCONTROLLER PC

RESET PROG. INTERFACE

9pin SubD
9pin SubD
Push button Toggle switch

Figure 1 146006 programming adapter

Edition: January 2009 4 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

2.2 Reference: Controller type / device and device / controller type

Controller type PCB Device


Siemens, 110231.100 sensor GyroStar// 110231
SAB C167CS32FM, PCB
AE
110231.200 outer GyroStar// 110231
sphere PCB
STEP/SSC module Step module in
148487 Junction box 138113
for GyroStarII
I/O PCB NP60 connection unit
102880
CPU PCB: NP60 control panel
102881
FU amplifier PCB Proportional amplifier
139155.100 for 139155 analog
steering control

Controller type PCB Device


Siemens/Infinion, 110231.100 sensor GyroStar// 110231
SAK C167CS32FM PCB
CB
110231.200 outer GyroStar// 110231
sphere PCB
STEP/SSC module Step module in
148487 junction box 138113
for GyroStarII
I/O PCB NP60 connection unit
102880
CPU PCB: NP60 control panel
102881
FU amplifier PCB Proportional amplifier
139155.100 for 139155 analog
steering control

3551E/146006.DOC162 5 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Controller type PCB Device


Siemens/Infinion, 110231.100 sensor GyroStar // 110231
SAK C167CS32FM PCB
CA
110231.200 outer GyroStar // 110231
sphere PCB
STEP/SSC module Step module in
148487 junction box 138113
for GyroStar II
I/O PCB NP 60 connection box
102880
CPU PCB NP60 operator unit
102881
FU amplifier PCB Proportional amplifier
139155.100 for analog steering
control
139155
Siemens/Infinion, PCB NB06312 Serial /360
SAK XC167CI16F SynchroConverter
AC 132628
Thomson ST10 V2.02 FUAmplifier
NP60, Operator Unit
Autopilot type
2015/25/35
SSC Module,
Gyro Star II
Fujitsu 16/G), newer STD 22 Power PCB
version I/OPCB
Distribution Unit
(STD 22)
Radar
Fujitsu SRseries Operator Unit (STD 22)
STD 22 SensorPCB
Distribution Unit
(STD 22)
FollowUp Amplifier FollowUp Amplifier AS
139158
Steering Interface Steering Interface AS
138127
CAN Bus Modul Rudder Feedback Unit
101532.100 AS
101532 NG001004

Edition: January 2009 6 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

3 Preparatory action

3.1 Installing the tools

Besides the manual, the CD supplied also contains the necessary tools for updating the
various microcontrollers (for the relevant manufacturer).
We recommend that you copy these tools on to the hard drive (C:) of the Laptop or PC.
The tools for the various manufacturers can be started from the hard drive.

The tools used to update the microcontrollers memory are


supplied by the corresponding microcontroller manufacturer.
These are easytooperate tools, adapted to the relevant
controller type.
These software tools are provided on the CDROM, the
current version of the software can be requested from the
microprocessor manufacturer concerned.

3.2 How to install the tools

3.2.1 Siemens Memtool (V 2.1.2)


Copy the entire folder, complete with its subdirectories, onto the local hard drive.
You may give the folder a name of your choosing.
Once installed the Siemens Memtool can be started from
local drive:\programs\Memtool\Memtool.exe .
We recommend that you create a shortcut to this program on your desktop.

3.2.2 Infineon Memtool (V 3.0.9 and V 4.1.1)


Copy the entire folder, complete with its subdirectories, onto the local hard drive.
You may give the folder a name of your choosing.
The Infineon Memtool can be started using the EXEFile program. This automatically
starts a decompression program which copies the setup files into a customised folder.
The Memtool can then be started.
We recommend that you create a shortcut to this program on your desktop.

3551E/146006.DOC162 7 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

3.2.3 ST10 Memtool


Copy the entire folder, complete with its subdirectories, onto the local hard drive. You
may give the folder a name of your choosing.
Start the SETUP.exe program from this folder and you are automatically guided through
the installation procedure.

3.2.4 Fujitsu
Copy the entire folder, complete with its subdirectories, onto the local hard drive.
You may give the folder a name of your choosing.
Start the EXEFile program from this folder and the Memtool will run.

Edition: January 2009 8 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

4 Flash procedures

4.1 General Information

The update (flashing) procedure for microcontrollers with


integral flash memory should be carried out only by trained
and qualified staff.

The device into which the microcontroller memory for update is installed must be
switched on, must be in operational status, and must not be operating while the flash
procedure is taking place.
We recommend that you disconnect all connections to connected consumers. You can
reestablish these connections after flashing has taken place.

After the flash procedure has taken place the device in which the microprocessor
is installed should be switched off, and then switched on again after a period of
approximately 2 minutes. This ensures that the instrument itself and the connected
consumers are set to the specified status.

See the relevant sections for any exceptions and special cases for each device.

Links to the microcontroller flash procedures:


SIEMENS SAB C167CS32FM (AE)
SIEMENS SAK C167CS32FM (CB)
SIEMENS CR 16F
SGS Thomson ST10F 167
SIEMENS SAK C167CS32FM (CA)
SGS Thomson ST 10F 168Q6
Fujitsu (G)
Siement Infineon (AC)

3551E/146006.DOC162 9 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.2 Flashing type Siemens (CA)

4.2.1 Preparatory action

It is necessary that the SiemensOnChip Memory Programming Tool, version 3.0.9


be copied onto the hard drive, or can be retrieved from another data carrier.

4.2.1.1 Preparatory action on the PC/laptop

Open the SiemensOnChip Memory Programming tool, version 3.0.9 software tool.

Figure 2 Calling the programming tool

Check briefly (using figure 2 as a guide) that you have selected the correct tool for the
microcontroller you wish to flash.

Edition: January 2009 10 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Choose the microcontroller type you wish to flash by selecting TARGET


CHANGE....
Figure 3 shows type SAB C167CS32 STEP: CA has been selected.

Figure 3 Selecting the microcontroller to flash

Check the default settings shown in figure 4 by selecting DEVICE SETUP ...

Any other settings than those given will result in malfunctions.

Figure 4 MINIMON interface setup

Confirm the settings with OK .

3551E/146006.DOC162 11 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Make the settings shown in figure 5 by going to TARGET SETUP TARGET


INTERFACE and confirm with OK.

Figure 5 OnChip FLASH/DTP module set up

Go to TARGET SETUP COMMUNICATION PORT to specify the port on your


PC/laptop through which the data will be transferred to the microcontroller.
Finish making the settings with OK .

Figure 6 Serial interface setup

Edition: January 2009 12 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

4.2.1.2 Flash procedure preparatory action

Connect the two cables equipped with subD plugs on the programming device as
indicated on the label, between the PC serial port and the programming socket
(plug) on the PCB.
Switch on the target device.
Set the switch on the programming adapter to the PROG position.
Set the switch on the programming adapter to the Siemens position.
Press the RESET key on the programming adapter.
Check that the LED on the programming adapter is illuminated.
(Voltage supply for the programming adapter comes from the target device).

Figure 7 Display once the connection has been made between the target device and
the PC/laptop via the programming adapter

Figure 7 shows the contents of the FlashPROM on the target device (righthand
window).

3551E/146006.DOC162 13 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.2.2 Flashing

Figure 8 Calling the HEX files

Click on the OPEN FILE button (see figure 8) to open a window from which the file
for transfer can be selected.
The file for transfer must be flagged as a HEX file (*.h86).
This download file is transferred into the lefthand window of the programming tool by
clicking on Open (see figure 9).

Figure 9 Transferring the HEX files into the programming tool

Edition: January 2009 14 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 10 Selecting the files for transfer

Click on the SELECT ALL button (see figure 10) to select all the files in the lefthand
window. In the next stage, only the files selected will be transferred to the target
device.

Click on the ADD SEL button to transfer the data selected into the righthand
window and display it at the position where it is to be imported.

Click on the PROGRAM button (see figure 10) to save the new HEX file into the flash
PROM of the target device.

3551E/146006.DOC162 15 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

The presettings specify which of the following functions will be carried during the
import procedure:
Delete the old contents
Write the new contents
Verify the data transfer

Figure 11 Importing new data

If the transfer is successful the display will be as shown in figure 12.

Figure 12 Display after successful data transfer

Edition: January 2009 16 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

4.3 Flashing type Siemens CB

4.3.1 Preparatory action

It is necessary that the SiemensOnChip Memory Programming Tool, version 2.1.2


be copied onto the hard drive, or can be retrieved from another data carrier.

4.3.1.1 Preparatory action on the PC/laptop

Open the SiemensOnChip Memory Programming Tool, version 2.1.2 software tool.

Figure 13 Calling the programming tool

Check briefly (using figure 13 as a guide) that you have selected the appropriate tool
for the microcontroller you wish to flash.

3551E/146006.DOC162 17 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Select the microcontroller type you wish to flash by selecting TARGET


CHANGE....
Figure 14 shows type C167CS32F Blind 1st Sil has been selected

Figure 14 Selecting the microcontroller to flash

Figure 15 Tool Setup

Do not ever place a tick in the REMAPbox (see figure 15)!!


Confirm the settings with OK

Edition: January 2009 18 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Go to TARGET SETUP COMMUNICATION PORT to specify the port on your


PC/laptop through which the data will be transferred to the microcontroller and specify
the data transfer rate (see figure 16).
Confirm the settings by pressing the OK button.

Figure 16 Serial interface setup

4.3.1.2 Flash procedure preparatory action

Connect the two cables equipped with subD plugs on the programming device
as indicated on the label, between the PC serial port and the programming socket
(plug) on the PCB.
Switch on the target device.
Set the switch on the programming adapter to the PROG position.
Set the switch on the programming adapter to the Siemens position.
Press the RESET key on the programming adapter.
Check that the LED on the programming adapter is illuminated.
(Voltage supply for the programming adapter comes from the target device).

3551E/146006.DOC162 19 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 17 Display once the connection has been made between the target device and
the PC/laptop via the programming adapter

Figure 18 Deleting the Flash PROM

To delete the Flash PROM select all the files available


(when you make this selection the Select All button will change to Unselect All)
and then delete them by clicking on the ERASE button (see figure 18).

Edition: January 2009 20 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 19 The procedure for deleting the Flash PROM

3551E/146006.DOC162 21 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.3.2 Flashing

Figure 20 Calling the HEX files (download file)

Click on the OPEN FILE button (see figure 20) to open a window from which the file
for transfer can be selected.
The file for transfer must be flagged as a HEX file (*.h86).
Click on the Open button to transfer this file into the lefthand window of the
programming tool (see figure 20.

Figure 21 Selecting the files for transfer

Edition: January 2009 22 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Click on the SELECT ALL button (see figure 21) to select all the files in the lefthand
window. In the next stage, only the files selected will be transferred to the target
device.

Click on the ADD button to transfer the data selected into the righthand window
and display it at the position where it is to be imported.

Click on the PROGRAM button (see figure 21) to save the new HEX file into the flash
PROM of the target device.

Figure 22 shows the display after a successful transfer into the Flash memory.
The word Ready is displayed.

Figure 22 Display following completion of correct transfer

3551E/146006.DOC162 23 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.4 Flashing type Siemens (AE)

4.4.1 Preparatory action

It is necessary that the SiemensOnChip Memory Programming Tool, version 2.1.2


be copied onto the hard drive, or can be retrieved from another data carrier.

4.4.1.1 Preparatory action on the PC/laptop

Open the SiemensOnChip Memory Programming Tool, version 2.1.2 software tool.

Figure 23 Calling the programming tool

Check briefly (using figure 23 as a guide) that you have selected the appropriate tool
for the microcontroller you wish to flash.

Edition: January 2009 24 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Choose the microcontroller type you wish to flash by selecting TARGET


CHANGE....
Figure 24 shows type C167CS32F Blind 1 1st Sil has been selected.

Figure 24 Selecting the microcontroller to flash

Figure 25 Tool Setup

Do not ever place a tick in the REMAPbox (see figure 25)!!


Confirm the settings with OK.

3551E/146006.DOC162 25 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Go to TARGET SETUP COMMUNICATION PORT to specify the port on your


PC/laptop through which the data will be transferred to the microcontroller and specify
the data transfer rate (see figure 26).
Finish making the settings with OK.

Figure 26 Serial interface setup

4.4.1.2 Flash procedure preparatory action

Connect the two cables equipped with subD plugs on the programming device
as indicated on the label, between the PC serial port and the programming socket
(plug) on the PCB.
Switch on the target device.
Set the switch on the programming adapter to the PROG position.
Set the switch on the programming adapter to the Siemens position.
Press the RESET key on the programming adapter.
Check that the LED on the programming adapter is illuminated.
(Voltage supply for the programming adapter comes from the target device).

Edition: January 2009 26 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 27 Display once the connection has been made between the target device
and the PC/laptop via the programming adapter

Figure 28 Deleting the Flash PROM

To delete the Flash PROM select all the available files.


(when you make this selection the Select All button will change to Unselect All)
and then delete them by clicking on the ERASE button (see figure 28).

3551E/146006.DOC162 27 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 29 The procedure for deleting the Flash PROM

4.4.2 Flashing

Figure 30 Calling the HEX files (download file)

Edition: January 2009 28 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Click on the OPEN FILE button (see figure 30) to open a window from which the file
for transfer can be selected.
The file for transfer must be flagged as a HEX file (*.h86).
Click on the Open button to transfer this file into the lefthand window of the
programming tool (see figure 30).

Figure 31 Selecting the files for transfer

Click on the SELECT ALL button (see figure 31) to select all the files in the lefthand
window. In the next stage, only the files selected will be transferred to the target
device.

Click on the ADD button to transfer the data selected into the righthand window
and display it at the position where it is to be imported.

Click on the PROGRAM button (see figure 31) to save the new HEX file into the
Flash PROM of the target device.

Figure 32 shows the display after a successful transfer into the Flash memory:
The word Ready is displayed.

3551E/146006.DOC162 29 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 32 Display following correct completion of transfer

Edition: January 2009 30 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

4.5 Flashing type Siemens CR 16 F

4.5.1 Preparatory action

It is necessary that the SiemensOnChip Memory Programming Tool, version 2.1.2


be copied onto the hard drive, or can be retrieved from another data carrier.

4.5.1.1 Preparatory action on the PC/laptop

Open the SiemensOnChip Memory Programming Tool, version 2.1.2 software tool.

Figure 33 Calling the programming tool

Check briefly (using figure 33 as a guide) that you have selected the appropriate tool
for the microcontroller you wish to flash.

3551E/146006.DOC162 31 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Select the microcontroller type you wish to flash by selecting TARGET


CHANGE....
Figure 34 shows type C167CR16F has been selected

Figure 34 Selecting the microcontroller to flash

Figure 35 Tool Setup

Do not ever place a tick in the REMAP box (see figure 35)!!
Confirm the settings with OK.

Edition: January 2009 32 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Go to TARGET SETUP COMMUNICATION PORT to specify the port on your


PC/laptop through which the data will be transferred to the microcontroller and specify
the data transfer rate (see figure 36).
Finish making the settings with OK .

Figure 36 Serial interface setup

4.5.1.2 Flash procedure preparatory action

Connect the two cables equipped with subD plugs on the programming device
as indicated on the label, between the PC serial port and the programming socket
(plug) on the PCB.
Switch on the target device.
Set the switch on the programming adapter to the PROG position.
Set the switch on the programming adapter to the Siemens position.
Press the RESET key on the programming adapter.
Check that the LED on the programming adapter is illuminated.
(Voltage supply for the programming adapter comes from the target device).

3551E/146006.DOC162 33 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 37 Display once the connection has been made between the target device
and the PC/laptop via the programming adapter

Figure 38 Deleting the Flash PROM

To delete the Flash PROM select all the available files.


(when you make this selection the Select All button will change to Unselect All)
and then delete them by clicking on the ERASE button (see figure 38).

Edition: January 2009 34 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 39 The procedure for deleting the Flash PROM

4.5.2 Flashing

Figure 40 Calling the HEX files (download file)

3551E/146006.DOC162 35 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Click on the OPEN FILE button (see figure 40) to open a window from which the file
for transfer can be selected.
The file for transfer must be flagged as a HEX file (*.h86).
Click on the Open button to transfer this file into the lefthand window of the
programming tool (see figure 40).

Figure 41 Selecting the files for transfer

Click on the SELECT ALL button (see figure 41) to select all the files in the lefthand
window. In the next stage, only the files selected will be transferred to the target
device.

Click on the ADD button to transfer the data selected into the righthand window
and display it at the position where it is to be imported.

Click on the PROGRAM button (see figure 41) to save the new HEX file into the
Flash PROM of the target device.

Figure 42 shows the display after a successful transfer into the Flash memory:
The word Ready is displayed.

Edition: January 2009 36 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 42 Display following correct completion of transfer

3551E/146006.DOC162 37 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.6 Flashing Type Siemens (AC)

Flashing of this type has to be performed in an analogous manner to the type CA


(see section 4.5).
For additional information to this flashing process see the information, given with the
flashsoftware, also.

Edition: January 2009 38 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

4.7 Flashing type Siemens ST10F 167

4.7.1 Preparatory action

It is necessary that the SiemensOnChip Memory Programming Tool, version 2.1.2


be copied onto the hard drive, or can be retrieved from another data carrier.

4.7.1.1 Preparatory action on the PC/laptop

Open the SiemensOnChip Memory Programming Tool, version 2.1.2 software tool.

Figure 43 Calling the programming tool

Check briefly (using figure 43 as a guide) that you have selected the appropriate tool
for the microcontroller you wish to flash.

3551E/146006.DOC162 39 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Select the microcontroller type you wish to flash by selecting TARGET


CHANGE....
Figure 44 shows type C167CR16F has been selected

Figure 44 Selecting the microcontroller to flash

Figure 45 Tool Setup


Do not ever place a tick in the REMAP box (see figure 45)!!
Confirm the settings with OK.

Edition: January 2009 40 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Go to TARGET SETUP COMMUNICATION PORT to specify the port on your


PC/laptop through which the data will be transferred to the microcontroller and specify
the data transfer rate (see figure 46).
Finish making the settings with OK.

Figure 46 Serial interface setup

4.7.1.2 Flash procedure preparatory action

Connect the two cables equipped with subD plugs on the programming device
as indicated on the label, between the PC serial port and the programming socket
(plug) on the PCB.
Switch on the target device.
Set the switch on the programming adapter to the PROG position.
Set the switch on the programming adapter to the Siemens position.
Press the RESET key on the programming adapter.
Check that the LED on the programming adapter is illuminated.
(Voltage supply for the programming adapter comes via the target device).

3551E/146006.DOC162 41 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 47 Display once the connection has been made between the target device
and the PC/laptop via the programming adapter

Figure 48 Deleting the Flash PROM

To delete the Flash PROM select all the available files.


(when you make this selection the Select All button will change to Unselect All)
and then delete them by clicking on the ERASE button (see figure 48).

Edition: January 2009 42 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 49 The procedure for deleting the Flash PROM

4.7.2 Flashing

Figure 50 Calling the HEX files (download file)

3551E/146006.DOC162 43 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Click on the OPEN FILE button (see figure 50) to open a window from which the file
for transfer can be selected.
The file for transfer must be flagged as a HEX file (*.h86).
Click on the Open button to transfer this file into the lefthand window of the
programming tool (see figure 50).

Figure 51 Selecting the files for transfer

Click on the SELECT ALL button (see figure 51) to select all the files in the lefthand
window. In the next stage, only the files selected will be transferred to the target
device.

Click on the ADD button to transfer the data selected into the righthand window
and display it at the position where it is to be imported.

Click on the PROGRAM button (see figure 51) to save the new HEX file into the
Flash PROM of the target device.

Figure 52 shows the display after a successful transfer into the Flash memory:
The word Ready is displayed.

Edition: January 2009 44 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 52 Display following correct completion of transfer

3551E/146006.DOC162 45 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.8 Flashing Type SGS Thomson 168 (Q6 )

4.8.1 Preparatory action


It is necessary that the ST10 Standalone Flasher, version 2.0. be copied onto the
hard drive, or can be retrieved from another data carrier.

4.8.1.1 Preparatory action on the PC/laptop


Open the ST10 Standalone Flasher.
Once it has been opened, the following message will appear on the PC/laptop display
unit. This message states that the target device is not connected or has not yet been
reset.

Figure 53: Start message output by the ST10 flasher

Click on the OK (figure 53) and the display shown in figure 54will appear on your
PC/laptop.

Figure 54: ST10 Flasher flash window


(Target device not connected and not reset)

Edition: January 2009 46 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Connect the two cables equipped with subD plugs on the programming device
as indicated on the label, between the PC serial port and the programming socket
(plug) on the PCB.
Switch on the target device.
Set the switch on the programming adapter to the PROG position.
Set the switch on the programming adapter to the Siemens position.
Press the RESET key on the programming adapter.
Check that the LED on the programming adapter is illuminated.
The voltage supply for the programming adapter comes from the target device.
Click on the Reload Monitor button on the PC/laptop display unit.
If the target device is connected to the PC/laptop via the programming adapter
the Monitor = OK LED is illuminated (see figure 55).

Figure 55: ST10 flasher window for flashing


(Target device connected and reset)

3551E/146006.DOC162 47 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Select the port and the data transfer rate (BAUD rate) from the Connect and
Serial Port menu (see figure 56). After you have made the port setting make
sure that the COM... LED is illuminated green.

Figure 56 Setting the COM port and the baud rate

To delete the Flash PROM memory you can tick the Automatic Erase check box
(see figure 56) or you can delete the various sections in the Flash PROM individually
by clicking on the Erase Flash button (figure 57).

Figure 57 Deleting sections of the memory in the target device

Edition: January 2009 48 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

To select the HEX files you wish to transfer, click on the Select Hexfile button
(see figure 58).

Figure 58: Selecting the download file (HEX program)

Once the HEX file has loaded, you need to press the Program verify button.
Once the data has transferred you should see a message as shown in figure 59.

Name of Download file


Program verify button

Download file loaded

Old memory in
Flash PROM deleted.

Program transferred
and verified.

Figure 59 Display following successful flash procedure

3551E/146006.DOC162 49 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.9 Flashing Type SGS Thomson ST10 2.02

Please note: This type of Flash program is compatible to all lower versions.

4.9.1 Preparatory action


It is necessary that the ST10 Flasher V2.02 be copied onto the hard drive, or can be
retrieved from another data carrier.

4.9.1.1 Preparatory action on the PC/laptop

Open the ST10 Flasher 2.02.


File stm Disk1 Setup (see figure 60)

Figure 60 Setup icon

Once it has been opened, the following message will appear on the PC/laptop display
unit.
This message states that the target device is not connected or has not yet been reset.

Figure 61 Start message output by the ST10 Flasher 2.02

Edition: January 2009 50 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

This message can be ignored by operating the button OK , if the


programmingadapter should be connected later.
After operation the button OK following window ist displayed:

Figure 62 Window for flashing (target device not connected and not been reset)

Perform connection to the target device via the programming adapter.


Operate the push button Reset at the programming adapter.
Operate the button Reload Monitor at the window (see figure 63).

Figure 63 Window for flashing (Target device connected and resettet)

3551E/146006.DOC162 51 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

In general:

Both indicators green, start of Flashprozedur ist possible.


one or both indicators red, start of Flashprozedur not
possible.

After performing the connection to the programming adapter or, if the programming
adapter has been connected before starting the flash program, following window is
displayed:

type of processor
frequency

Bild 64 Window for flashing (Target device connected and resettet)

The type of processor and the frequency are automatically recognized (see figure 64).
To set the COM port and the Baud rate, the button Set Port has to be operated (see
figure 65).

Edition: January 2009 52 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 65 Window to set COM ports and Baud rate

After adjustment of COM port and Baud rate operate the button Apply (see figure 65),
after that, information of the adjusted parameters are displayed (see figure 66).

Bild 66 Window with information of adjusted parameters

By operating the button File to program, the window to load the new software is
displayed (Figure 67).

3551E/146006.DOC162 53 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Bild 67 Window to select the source of the new software

Select data carrier and/or file and mark the respective file. The file must have a suffix
with *.h86 (figure 68)

Bild 68 Loading the new software

Operate button OK and the window with information about the new software is
displayed (figure 69).

Edition: January 2009 54 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 69 Window with information about the new software

By operating the button Erase Flash (figure 69) the window to erase the memory of
the target device is displayed.

Bild 70 Window to erase the memory of the target device

By operating Select All and Erase the memory is erased.

After finishing the erase procedure the window to flash is displayed.


After operating the button Program&Verify (figure 71) the flashing procedure starts.

3551E/146006.DOC162 55 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 71 Window Start Flashing Procedure

After a successful flash procedure the following information is displayed(figure 72):

Bild 72 Information after a successful flashing

Edition: January 2009 56 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

4.10 Flashing Type Fujitsu FW16(G)

4.10.1 Flashen Type Fujitsu FW16 (G), older version

Connect the two cables equipped with subD plugs on the programming device
as indicated on the label, between the PC serial port and the programming socket
(plug) on the PCB.
Switch on the target device.
Set the switch on the programming adapter to the PROG position.
Set the switch on the programming adapter to the Fujitsu position.
Press the RESET key on the programming adapter.
Check that the LED on the programming adapter is illuminated.
The voltage supply for the programming adapter comes from the target device.
Click on the Download button (to activate the connection between the target
device and the PC/laptop).

Figure 73: Window after the connection has been made between the programming
adapter and the target device

3551E/146006.DOC162 57 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 74: Configuring the CPU type


From the CPU pulldown menu, select CPU type MB90F497 (see figure 74).

Figure 75: Configuring the quartz frequency

From the Speed pulldown menu, set a quartz frequency of 4MHz (see figure 75).

Edition: January 2009 58 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 76: Configuring the serial port

You need to set the port selected for this PC/laptop from a pulldown menu
(see figure 76).

Figure 77: Selecting the HEX files (download file)

If you click on the Search button a window appears from which you can select the
download file for transfer (see figure 77).
The download file is then displayed in the oneline list field (see figure 78).

3551E/146006.DOC162 59 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 79 Starting the flash procedure

The flash procedure can be started by clicking on the Auto button. This automatically
deletes the contents of the Flash PROM and imports the new program (while verifying
that it has been correctly transferred) (see figure 79 Auto button and figure 80
Flash procedure).

Figure 80 The flash procedure

Edition: January 2009 60 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Another way of importing the HEX file into the Flash PROM is first to delete the old
memory using the Erase button, then to check the delete procedure by clicking on
the Blank Check button, and then to import the file and verify that it has transferred
correctly by clicking on the Write + Verify button (see figure 79).

Figure 81: Display after successful data transfer

3551E/146006.DOC162 61 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.10.2 Flashing Type Fujitsu FW16 (G), newer version

Microcontrollers with integral flash memory should


be updated (flashed) only by fully trained
members of staff.

To handle this softwaretool it is not necessary to


connect the target device to the programming
adapter 146006.
This device can be connected to PC/laptop.

Connect the device to flash to the PC/laptop. Both devices should not be
switched ON while connecting. Plug COM1 or COM 2 at the PC/laptop.
Set or remove jumpers (if necessary), see respective manual to the device to flash.
Switch ON PC/Laptop and the device to flash.
Start Flashprogram (see figure 82).

Figure 82: Start of the Flashprogram

Operate the ResetPush button at the device to flash (if necessary).

Edition: January 2009 62 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

After starting the Flashprogram below mentioned window is displayed (figure 83):

Figure 83: StartDisplay of the flashprogram (with pulldown menu to select type
of microcontroller)

Select controller type MB90F497/G under the pulldown menu


Target Microcontroller.

Figure 84: Window to check the clock frequency

Check clock frequency and set to 4MHz if necessary.


After that the new file has to be opened by operating button Open.

3551E/146006.DOC162 63 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Figure 85: Window to select the new software

The new software must have a suffix with .mhxBy operating ffnen
(see figure 85), the file to load can be selected.

Figure 86: Start of the flash procedure

By operating the button Full operation (see figure 86) the procedure starts to flash.

Edition: January 2009 64 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

The destination memory is erased fist (see figure 87).

Figure 87: Erasing the destination memory

After that the new software is transferred (see figure 88).

Figure 88: Flashing

3551E/146006.DOC162 65 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

After a successful flash procedure following window is displayed (see figure 89).

Figure 89: Flash procedure successful completed

After the flash procedure is completed, the jumpers have to be set or removed for
normal operation, the device to flash must be resettet and the connection between
device and PC/laptop must be removed.

Edition: January 2009 66 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

4.10.3 Flashing Type Fujitsu FRseries

Microcontrollers with integral flash memory should


be updated (flashed) only by fully trained
members of staff.

To handle this softwaretool it is not necessary to


connect the target device to the programming
adapter 146006.
This device can be connected to PC/laptop.

Connect the device to flash to the PC/laptop. Both devices should not be
switched ON while connecting. Plug COM1 or COM 2 at the PC/laptop.
Set or remove jumpers (if necessary), see respective manual to the device to flash.
Switch ON PC/Laptop and the device to flash.
Start Flashprogram (see figure 90).

Figure 90: Start of the Flashprogram

Operate the ResetPush button at the device to flash (if necessary).

3551E/146006.DOC162 67 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

After starting the Flashprogram below mentioned window is displayed (figure 91):

Figure 91: StartDisplay of the flashprogram (with pulldown menu to select type
of microcontroller)

Select controller type MB91F236 under the pulldown menu


Target Microcontroller.

Figure 92: Window to check the clock frequency

Check clock frequency and set to 4MHz if necessary.


After that the new file has to be opened by operating button Open.

Edition: January 2009 68 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

Figure 93: Window to select the new software

The new software must have a suffix with .mhxBy operating ffnen
(see figure 93), the file to load can be selected.

Figure 94: Start of the flash procedure

By operating the button Full operation (see figure 94) the procedure starts to flash.

3551E/146006.DOC162 69 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

The new software is transferred (see figure 95).

Figure 95: Loading the new software

The destination memory has to erased fist (see figure 96).

Figure 96: Request to erase the memory

Edition: January 2009 70 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

The new software is transferred (figure 97)

Figure 97: Flashing

After a successful flash procedure following window is displayed (see figure 89).

Figure 98: Flash procedure successful completed

After the flash procedure is completed, the jumpers have to be set or removed for
normal operation, the device to flash must be resettet and the connection between
device and PC/laptop must be removed.

3551E/146006.DOC162 71 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

4.11 Special cases relating to Gyro Star II


Once the software has been imported into the Gyro Star II the RESET function must be
triggered on the sensor PCB.
To actuate the RESET function, either press the RESET button once, or briefly bypass
the two (B42) contacts.

Sensor PCB Plug connector for RESET


the programming
adapter

Figure 99: Layout of sensor PCB and plug connector

Plug connector
programming
adapter
RESET

Sensor PCB

Figure 100:Layout of plug connector and RESET key on the sensor PCB

Edition: January 2009 72 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

5 Additional information about the ST10 flash tool

Version: V2.0; December 2000

Installation:
Although the flasher software has been checked for viruses, we strongly recommend
that you run your virus scanner prior to the installation to keep your system virus
free.
Close all running programs on your PC/Laptop.
If you want to keep a previously installed version you can install this version in
parallel.
You may remove a previous version of the tool in the control panel (add/remove
program).
Install STUtility running setup.exe and follow the onscreen instructions.

Important:
Setup errors may occur if an application is using msvcp60.dll, kernel32.dll or msvcrt.dll.
In that case, choose ignore: there will be no adverse effect on the application.

What is needed to program the embedded flash memory of a ST10.

On the ST10 side:


A board with the ST10F168 (or enhanced derivate)equipped with a COM port level
shifter to operate at the RS232 (PC level). The board must be designed to set the
micro into bootstrap loader mode. Furthermore the programming voltage for the
flash must be available.

On the PC/Laptop side:


A WINDOWS PC/Laptop with a serial interface (COM1...4) with the ST10 Flasher
software installed.

3551E/146006.DOC162 73 Edition: January 2009


Updating software
in microprocessors
with internal Flash memory

Usage:

Reset the application before starting ST10 utility.exe to enter Bootstrap Loader Mode.

If the microcontroller is NOT in bootstrap loader mode, the message:


BSL receive acknowledge failed appears. Reset your application and reload the
monitor will appear.
In this case, then:
Issue a hardware reset to latch port 0 pin 4 at low level during startup.
Make sure you have selected the correct serial communication port and that no
other program occupies it (close it if necessary).
Click the button RELOAD starts the bootstrap loader based on common handler
download again, which then should be successful completed by showing the
Monitor OK in the message window.

If the ST10 cannot be contacted on bootstrap loader mode, the message Reset your
board to bootstrap loader mode and press RELOAD appears.
In this case:
Click Get Status to get the flash tool status. If an error occurred, it returns the last
error message.
When loading the monitor, the tool performs an autodevice detection. The device
then displays in the interface indicating that you are connected to ST10F168, for
example.

If the monitor loading was not successful, the following message will appear in the flash
type window:
ChipAutoDetection

Possible baud rates to speed up operation on serial line.


Press Get maximum baud rate in menu CONNECT to get the highest possible baud
rate for the communication channel in use. Then the flasher will suggest that you set
the speed at the maximum baud rate or at the previous baud rate.

Some baud rates cannot be set for some CPU frequencies because of the RS232
deviation between the baud rate register loaded in the Flash and the target baud rate.

The baud rate is considered OK if variance is <2%

Edition: January 2009 74 3551E/146006.DOC162


Updating software
in microcontrollers Service Tools
Flashing
with internal Flash memory

TEST COM
This function is used to test the serial communication. It merely sends a byte 0x0 and
checks the response of the ST10.

NOTE under WINDOWS 95/98: Programming speed issue


Under WINDOWS 95/98, it is strongly recommended to set the FIFO option in the
advanced COM port settings /Start Menu >control Panel>System>COM Port).
Otherwise flasher operations may take a long time.

3551E/146006.DOC162 75 Edition: January 2009

You might also like