79
Raytheon Anschütz GmbH Postfach 1166 D - 24100 Kiel Germany Tel +49-4 31-30 19-0 Fax +49-4 31-30 19-501 Email [email protected] www.raytheon-anschuetz.de 3551E/146-006.DOC162 Edition: January 2009 Updating software in micro-processors with internal Flash memory Operator Manual

Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Raytheon Anschütz GmbHPostfach 1166D − 24100 KielGermanyTel +49−4 31−30 19−0Fax +49−4 31−30 19−501Email [email protected]−anschuetz.de

3551E/146−006.DOC162 Edition: January 2009

Updating softwarein in micro−processors

with internal Flash memory

Operator Manual

Page 2: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Weitergabe sowie Vervielfältigung dieser Unterlage, Verwertung undMitteilung ihres Inhaltes nicht gestattet, soweit nicht ausdrücklichzugestanden. Zuwiderhandlungen verpflichten zu Schadenersatz.

Copying of this document, and giving it to others and the use orcommunication of the contents thereof, are forbidden without expressauthority. Offenders are liable to the payment of damages.

Toute communication ou reproduction de ce document, touteexploitation ou communication de son contenu sont interdites, saufautorisation expresse. Tout manquement à cette règle est illicite etexpose son auteur au versement de dommages et intérêts.

Sin nuestra expresa autorización, queda terminantemente prohibida lareproducción total o parcial de este documento, así como su usoindebido y/o su exhibición o comunicación a terceros. De los infractoresse exigirá el correspondiente resarcimiento de daños y perjuicios.

Page 3: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

I3551E/148−006.DOC162 Edition: April 2004

Section Contents Page

1 Overview of future generation micro−controllers 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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 4: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

II 3551E/164−006.DOC162Edition: April 2004

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 FR−series 67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11 Special cases relating to Gyro Star II 72. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

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

Page 5: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

13551E/146−006.DOC162 Edition: January 2009

1 Overview of future generation micro−controllers

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.

“SIEMENS−On−Chip Memory ProgrammingTool Version 2.1.2” is required in order to flashthis EPROM.

LINKS⇒ Flash Procedures − general information⇒ Type AE flash Procedure

SIEMENSSAB C167CS−32FMES L.1BOSCHGERMANYAE

Siemens and also Infinion (CB)This type is very rare, but identical to type AE.

“SIEMENS−On−Chip Memory ProgrammingTool Version 2.1.2” is required in order to flashthis EPROM.

LINKS:⇒ Flash Procedures − general information⇒ Type CB flash Procedure

SIEMENSSAK C167CS−32FMES L.1BOSCHGERMANYCB

Type Siemens CR−16FThis type of controller is used in older devices.

“SIEMENS−On−Chip Memory ProgrammingTool Version 2.1.2” is required in order to flashthis EPROM.

LINKS:⇒ Flash Procedures − general information⇒ Type C167 flash procedure

SIEMENSSIEMENS C167 CR−16FMES 2.1BOSCHGERMANY

??

Page 6: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

2 3551E/146−006.DOC162Edition: January 2009

Type SGS Thomson ST10 F167This type of controller is used in older devices.

“SIEMENS−On−Chip Memory ProgrammingTool Version 2.1.2” is required in order to flashthis EPROM.

LINKS:⇒ Flash Procedures − general information⇒ Type 167 flash Procedure

ST 10F 167EBB AO33892� Bosch 1992 MALTA

Type Siemens / Infinion (CA)

“SIEMENS−On−Chip Memory ProgrammingTool (Infinion Memtool) Version 3.0.9” is requiredin order to flash this EPROM.

LINKS:⇒ Flash Procedures − general information⇒ Type CA flash Procedure

SIEMENSSAK C167CS−32FMES 2.1BOSCHGERMANY

CA

Type SGS Thomson (Q6)

The “ST10 F168”software tool is necessary inorder to flash this EPROM.

LINKS:⇒ Flash Procedures − general information⇒ Type (Q6) flash procedure

⇒ Additional information about the ST10 flashtool

ST 10F 168−Q6EBB AO33892� Bosch 1992 MALTA

Page 7: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

33551E/146−006.DOC162 Edition: January 2009

Siemens/Infinion (AC)

The Infineon Memtool 4.1.4 is necessary toflash this EPROM..

LINKS:⇒ Flash Procedures − general information

InfineonSAK−XC167CI−16F40F

Type Fujitsu FW16 (G), older version

The “fw16.exe” software tool is necessary inorder to flash this EPROM.

LINKS:⇒ Flash Procedures − general information⇒ Type FW16(G) flash procedure

JAPAN MB 90F497G0035 Z02

Z

Type SGS Thomson ST10 V2.02

Type Fujitsu FW16 8G), newer version

Type Fujitsu FR−series

Page 8: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

4 3551E/146−006.DOC162Edition: January 2009

2 General Information

The instructions that follow explain the procedure for updating the software in

micro−controllers with integral flash memory.

Each of the controllers stated below is mounted on a PCB containing a SUB−D 9−pin

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.

Micro−controllers with integral flash memory should be updated (flashed) only by fully trainedmembers 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 (SUB−D, 9 pin).

− Programming adapter type 146−006 (see figure 1).

− Floppy disc or other data medium containing the HEX file for transfer.

− CD−ROM containing:

−−PROG0047 EXX programming tool (XX = version number).

−−Micro−processor manufacturer tools needed to update the micro−controller.

−−Manual entitled “Updating software in micro−controllers with internal

Flash memory”

RESET PROG. INTERFACE

5V2LED

Push button Toggle switch

PCMICROCONTROLLER

9−pin Sub−D9−pin Sub−D

Fujitsu / Siemens

Figure 1 146−006 programming adapter

Page 9: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

53551E/146−006.DOC162 Edition: January 2009

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

Controller type PCB Device

Siemens,SAB C167CS−32FM,AE

110−231.100 sensorPCB

GyroStar// 110−231

AE 110−231.200 outersphere PCB

GyroStar// 110−231

STEP/SSC module148−487

Step module inJunction box 138−113for GyroStarII

I/O PCB NP60 connection unit102−880

CPU PCB: NP60 control panel102−881

FU amplifier PCB139−155.100

Proportional amplifierfor 139−155 analogsteering control

Controller type PCB Device

Siemens/Infinion,SAK C167CS−32FMCB

110−231.100 sensorPCB

GyroStar// 110−231

CB 110−231.200 outersphere PCB

GyroStar// 110−231

STEP/SSC module148−487

Step module injunction box 138−113for GyroStarII

I/O PCB NP60 connection unit102−880

CPU PCB: NP60 control panel102−881

FU amplifier PCB139−155.100

Proportional amplifierfor 139−155 analogsteering control

Page 10: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

6 3551E/146−006.DOC162Edition: January 2009

Controller type PCB Device

Siemens/Infinion,SAK C167CS−32FMCA

110−231.100 sensorPCB

GyroStar // 110−231

CA 110−231.200 outersphere PCB

GyroStar // 110−231

STEP/SSC module 148−487

Step module injunction box 138−113for GyroStar II

I/O PCB NP 60 connection box102−880

CPU PCB NP60 operator unit102−881

FU amplifier PCB139−155.100

Proportional amplifierfor analog steering control 139−155

Siemens/Infinion,SAK XC167CI−16FAC

PCB NB06−312 Serial /360°Synchro−Converter 132−628

Thomson ST10 V2.02 FU−Amplifier

NP60, Operator Unit

Autopilot type2015/25/35

SSC Module, Gyro Star II

Fujitsu 16/G), newerversion

STD 22 Power PCBI/O−PCB

Distribution Unit (STD 22)

Radar

Fujitsu SR−series Operator Unit (STD 22)

STD 22 Sensor−PCB

Distribution Unit (STD 22)

Follow−Up Amplifier Follow−Up Amplifier AS139−158

Steering Interface Steering Interface AS138−127

CAN Bus Modul101−532.100

Rudder Feedback UnitAS101−532 NG001−004

Page 11: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

73551E/146−006.DOC162 Edition: January 2009

3 Preparatory action

3.1 Installing the tools

Besides the manual, the CD supplied also contains the necessary tools for updating the

various micro−controllers (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 micro−controller’s memory aresupplied by the corresponding micro−controller manufacturer.These are easy−to−operate tools, adapted to the relevantcontroller type.These software tools are provided on the CD−ROM, thecurrent version of the software can be requested from themicro−processor 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 sub−directories, 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 short−cut 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 sub−directories, onto the local hard drive.

You may give the folder a name of your choosing.

The Infineon Memtool can be started using the EXE−File program. This automatically

starts a decompression program which copies the set−up files into a customised folder.

The Memtool can then be started.

We recommend that you create a short−cut to this program on your desktop.

Page 12: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

8 3551E/146−006.DOC162Edition: January 2009

3.2.3 ST10 MemtoolCopy the entire folder, complete with its sub−directories, 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 FujitsuCopy the entire folder, complete with its sub−directories, onto the local hard drive.

You may give the folder a name of your choosing.

Start the EXE−File program from this folder and the Memtool will run.

Page 13: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

93551E/146−006.DOC162 Edition: January 2009

4 Flash procedures

4.1 General Information

The update (flashing) procedure for micro−controllers withintegral flash memory should be carried out only by trainedand qualified staff.

The device into which the micro−controller 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 micro−processor

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 micro−controller flash procedures:

⇒ SIEMENS SAB C167CS−32FM (AE)

⇒ SIEMENS SAK C167CS−32FM (CB)

⇒ SIEMENS CR 16F

⇒SGS Thomson ST10F 167

⇒ SIEMENS SAK C167CS−32FM (CA)

⇒ SGS Thomson ST 10F 168−Q6

⇒ Fujitsu (G)

⇒Siement Infineon (AC)

Page 14: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

10 3551E/146−006.DOC162Edition: January 2009

4.2 Flashing type Siemens (CA)

4.2.1 Preparatory action

It is necessary that the “Siemens−On−Chip 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 “Siemens−On−Chip 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

micro−controller you wish to flash.

Page 15: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

113551E/146−006.DOC162 Edition: January 2009

Choose the micro−controller type you wish to flash by selecting “TARGET” −“CHANGE...”.

Figure 3 shows type SAB C167CS−32 STEP: CA has been selected.

Figure 3 Selecting the micro−controller 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 set−up

Confirm the settings with “OK” .

Page 16: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

12 3551E/146−006.DOC162Edition: January 2009

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 micro−controller.

Finish making the settings with “OK ”.

Figure 6 Serial interface set−up

Page 17: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

133551E/146−006.DOC162 Edition: January 2009

4.2.1.2 Flash procedure − preparatory action

− Connect the two cables equipped with sub−D 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 Flash−PROM on the target device (right−hand

window).

Page 18: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

14 3551E/146−006.DOC162Edition: January 2009

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 left−hand window of the programming tool by

clicking on “Open” (see figure 9).

Figure 9 Transferring the HEX files into the programming tool

Page 19: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

153551E/146−006.DOC162 Edition: January 2009

Figure 10 Selecting the files for transfer

Click on the “SELECT ALL” button (see figure 10) to select all the files in the left−hand

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 right−hand

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.

Page 20: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

16 3551E/146−006.DOC162Edition: January 2009

The pre−settings 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

Page 21: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

173551E/146−006.DOC162 Edition: January 2009

4.3 Flashing type Siemens CB

4.3.1 Preparatory action

It is necessary that the “Siemens−On−Chip 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 “Siemens−On−Chip 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 micro−controller you wish to flash.

Page 22: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

18 3551E/146−006.DOC162Edition: January 2009

Select the micro−controller type you wish to flash by selecting “TARGET” −“CHANGE...”.

Figure 14 shows type C167CS−32F Blind 1st Sil has been selected

Figure 14 Selecting the micro−controller to flash

Figure 15 Tool Setup

Do not ever place a tick in the “REMAP”box (see figure 15)!!

Confirm the settings with “OK”

Page 23: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

193551E/146−006.DOC162 Edition: January 2009

Go to “TARGET”− “SETUP”− “COMMUNICATION PORT” to specify the port on your

PC/laptop through which the data will be transferred to the micro−controller and specify

the data transfer rate (see figure 16).

Confirm the settings by pressing the “OK” button.

Figure 16 Serial interface set−up

4.3.1.2 Flash procedure − preparatory action

− Connect the two cables equipped with sub−D 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).

Page 24: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

20 3551E/146−006.DOC162Edition: January 2009

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

Page 25: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

213551E/146−006.DOC162 Edition: January 2009

Figure 19 The procedure for deleting the Flash PROM

Page 26: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

22 3551E/146−006.DOC162Edition: January 2009

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 left−hand window of the

programming tool (see figure 20.

Figure 21 Selecting the files for transfer

Page 27: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

233551E/146−006.DOC162 Edition: January 2009

Click on the “SELECT ALL” button (see figure 21) to select all the files in the left−hand

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 right−hand 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

Page 28: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

24 3551E/146−006.DOC162Edition: January 2009

4.4 Flashing type Siemens (AE)

4.4.1 Preparatory action

It is necessary that the “Siemens−On−Chip 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 “Siemens−On−Chip 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 micro−controller you wish to flash.

Page 29: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

253551E/146−006.DOC162 Edition: January 2009

Choose the micro−controller type you wish to flash by selecting “TARGET” −“CHANGE...”.

Figure 24 shows type C167CS−32F Blind 1 1st Sil has been selected.

Figure 24 Selecting the micro−controller to flash

Figure 25 Tool Setup

Do not ever place a tick in the “REMAP”box (see figure 25)!!

Confirm the settings with “OK”.

Page 30: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

26 3551E/146−006.DOC162Edition: January 2009

Go to “TARGET”− “SETUP”− “COMMUNICATION PORT” to specify the port on your

PC/laptop through which the data will be transferred to the micro−controller and specify

the data transfer rate (see figure 26).

Finish making the settings with “OK”.

Figure 26 Serial interface set−up

4.4.1.2 Flash procedure − preparatory action

− Connect the two cables equipped with sub−D 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).

Page 31: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

273551E/146−006.DOC162 Edition: January 2009

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

Page 32: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

28 3551E/146−006.DOC162Edition: January 2009

Figure 29 The procedure for deleting the Flash PROM

4.4.2 Flashing

Figure 30 Calling the HEX files (download file)

Page 33: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

293551E/146−006.DOC162 Edition: January 2009

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 left−hand 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 left−hand

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 right−hand 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.

Page 34: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

30 3551E/146−006.DOC162Edition: January 2009

Figure 32 Display following correct completion of transfer

Page 35: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

313551E/146−006.DOC162 Edition: January 2009

4.5 Flashing type Siemens CR 16 F

4.5.1 Preparatory action

It is necessary that the “Siemens−On−Chip 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 “Siemens−On−Chip 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 micro−controller you wish to flash.

Page 36: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

32 3551E/146−006.DOC162Edition: January 2009

Select the micro−controller type you wish to flash by selecting “TARGET” −“CHANGE...”.

Figure 34 shows type C167CR−16F has been selected

Figure 34 Selecting the micro−controller to flash

Figure 35 Tool Setup

Do not ever place a tick in the “REMAP” box (see figure 35)!!

Confirm the settings with “OK”.

Page 37: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

333551E/146−006.DOC162 Edition: January 2009

Go to “TARGET”− “SETUP”− “COMMUNICATION PORT” to specify the port on your

PC/laptop through which the data will be transferred to the micro−controller and specify

the data transfer rate (see figure 36).

Finish making the settings with “OK ”.

Figure 36 Serial interface set−up

4.5.1.2 Flash procedure − preparatory action

− Connect the two cables equipped with sub−D 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).

Page 38: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

34 3551E/146−006.DOC162Edition: January 2009

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

Page 39: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

353551E/146−006.DOC162 Edition: January 2009

Figure 39 The procedure for deleting the Flash PROM

4.5.2 Flashing

Figure 40 Calling the HEX files (download file)

Page 40: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

36 3551E/146−006.DOC162Edition: January 2009

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 left−hand 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 left−hand

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 right−hand 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.

Page 41: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

373551E/146−006.DOC162 Edition: January 2009

Figure 42 Display following correct completion of transfer

Page 42: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

38 3551E/146−006.DOC162Edition: January 2009

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

flash−software, also.

Page 43: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

393551E/146−006.DOC162 Edition: January 2009

4.7 Flashing type Siemens ST10F 167

4.7.1 Preparatory action

It is necessary that the “Siemens−On−Chip 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 “Siemens−On−Chip 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 micro−controller you wish to flash.

Page 44: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

40 3551E/146−006.DOC162Edition: January 2009

Select the micro−controller type you wish to flash by selecting “TARGET” −“CHANGE...”.

Figure 44 shows type C167CR−16F has been selected

Figure 44 Selecting the micro−controller to flash

Figure 45 Tool Setup

Do not ever place a tick in the “REMAP” box (see figure 45)!!

Confirm the settings with “OK”.

Page 45: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

413551E/146−006.DOC162 Edition: January 2009

Go to “TARGET”− “SETUP”− “COMMUNICATION PORT” to specify the port on your

PC/laptop through which the data will be transferred to the micro−controller and specify

the data transfer rate (see figure 46).

Finish making the settings with “OK”.

Figure 46 Serial interface set−up

4.7.1.2 Flash procedure − preparatory action

− Connect the two cables equipped with sub−D 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).

Page 46: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

42 3551E/146−006.DOC162Edition: January 2009

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

Page 47: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

433551E/146−006.DOC162 Edition: January 2009

Figure 49 The procedure for deleting the Flash PROM

4.7.2 Flashing

Figure 50 Calling the HEX files (download file)

Page 48: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

44 3551E/146−006.DOC162Edition: January 2009

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 left−hand 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 left−hand

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 right−hand 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.

Page 49: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

453551E/146−006.DOC162 Edition: January 2009

Figure 52 Display following correct completion of transfer

Page 50: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

46 3551E/146−006.DOC162Edition: January 2009

4.8 Flashing Type SGS Thomson 168 (Q6 )

4.8.1 Preparatory actionIt 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/laptopOpen 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”)

Page 51: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

473551E/146−006.DOC162 Edition: January 2009

− Connect the two cables equipped with sub−D 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”)

Page 52: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

48 3551E/146−006.DOC162Edition: January 2009

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

Page 53: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

493551E/146−006.DOC162 Edition: January 2009

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

Download file loaded

Old memory in Flash PROM deleted.

Program transferredand verified.

“Program verify” button

Figure 59 Display following successful flash procedure

Page 54: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

50 3551E/146−006.DOC162Edition: January 2009

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 actionIt 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

Page 55: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

513551E/146−006.DOC162 Edition: January 2009

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

programming−adapter 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”)

Page 56: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

52 3551E/146−006.DOC162Edition: January 2009

In general:

Both indicators green, start of Flashprozedur ist possible.one or both indicators red, start of Flashprozedur notpossible.

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 processorfrequency

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

Page 57: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

533551E/146−006.DOC162 Edition: January 2009

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

Page 58: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

54 3551E/146−006.DOC162Edition: January 2009

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

Page 59: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

553551E/146−006.DOC162 Edition: January 2009

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.

Page 60: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

56 3551E/146−006.DOC162Edition: January 2009

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

Page 61: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

573551E/146−006.DOC162 Edition: January 2009

4.10 Flashing − Type Fujitsu FW16(G)

4.10.1 Flashen − Type Fujitsu FW16 (G), older version

− Connect the two cables equipped with sub−D 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

Page 62: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

58 3551E/146−006.DOC162Edition: January 2009

Figure 74: Configuring the CPU type

From the “CPU” pull−down menu, select CPU type MB90F497 (see figure 74).

Figure 75: Configuring the quartz frequency

From the “Speed” pull−down menu, set a quartz frequency of 4MHz (see figure 75).

Page 63: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

593551E/146−006.DOC162 Edition: January 2009

Figure 76: Configuring the serial port

You need to set the port selected for this PC/laptop from a pull−down 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 one−line list field (see figure 78).

Page 64: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

60 3551E/146−006.DOC162Edition: January 2009

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

Page 65: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

613551E/146−006.DOC162 Edition: January 2009

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

Page 66: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

62 3551E/146−006.DOC162Edition: January 2009

4.10.2 Flashing − Type Fujitsu FW16 (G), newer version

Micro−controllers with integral flash memory should be updated (flashed) only by fully trainedmembers of staff.

To handle this software−tool it is not necessary toconnect the target device to the programmingadapter 146−006.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 Flash−program (see figure 82).

Figure 82: Start of the Flash−program

− Operate the “Reset−Push button” at the device to flash (if necessary).

Page 67: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

633551E/146−006.DOC162 Edition: January 2009

After starting the Flash−program below mentioned window is displayed (figure 83):

Figure 83: Start−Display of the flash−program (with pull−down menu to select type

of microcontroller)

Select controller type “ MB90F497/G” under the pull−down 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”.

Page 68: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

64 3551E/146−006.DOC162Edition: January 2009

Figure 85: Window to select the new software

The new software must have a suffix with “.mhx”By 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.

Page 69: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

653551E/146−006.DOC162 Edition: January 2009

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

Page 70: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

66 3551E/146−006.DOC162Edition: January 2009

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.

Page 71: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

673551E/146−006.DOC162 Edition: January 2009

4.10.3 Flashing − Type Fujitsu FR−series

Micro−controllers with integral flash memory should be updated (flashed) only by fully trainedmembers of staff.

To handle this software−tool it is not necessary toconnect the target device to the programmingadapter 146−006.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 Flash−program (see figure 90).

Figure 90: Start of the Flash−program

− Operate the “Reset−Push button” at the device to flash (if necessary).

Page 72: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

68 3551E/146−006.DOC162Edition: January 2009

After starting the Flash−program below mentioned window is displayed (figure 91):

Figure 91: Start−Display of the flash−program (with pull−down menu to select type

of microcontroller)

Select controller type “ MB91F236” under the pull−down 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”.

Page 73: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

693551E/146−006.DOC162 Edition: January 2009

Figure 93: Window to select the new software

The new software must have a suffix with “.mhx”By 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.

Page 74: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

70 3551E/146−006.DOC162Edition: January 2009

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

Page 75: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

713551E/146−006.DOC162 Edition: January 2009

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.

Page 76: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

72 3551E/146−006.DOC162Edition: January 2009

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 forthe programmingadapter

RESET

Figure 99: Layout of sensor PCB and plug connector

Sensor PCB

RESET

Plug connectorprogrammingadapter

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

Page 77: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

733551E/146−006.DOC162 Edition: January 2009

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 on−screen 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.

Page 78: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Updating software

in micro−processors

with internal Flash memory

74 3551E/146−006.DOC162Edition: January 2009

Usage:

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

If the micro−controller 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 auto−device 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%

Page 79: Updating software in in micro−processors with internal Flash … · 2014-10-30 · Service Tools Flashing Updating software in micro−controllers with internal Flash memory 3551E/146−006.DOC162

Service ToolsFlashing

Updating software

in micro−controllers

with internal Flash memory

753551E/146−006.DOC162 Edition: January 2009

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