98
NET IMPRESS Network Compatible in-circuit Flash Micom Programmer for Enbedded Smart Systems FLASH MICOM PROGRAMMER Instruction Manual Yokogawa Digital Computer Corporation

FLASH MICOM PROGRAMMER Instruction Manual

  • Upload
    others

  • View
    30

  • Download
    0

Embed Size (px)

Citation preview

Page 1: FLASH MICOM PROGRAMMER Instruction Manual

NET IMPRESS Network Compatible in-circuit Flash Micom Programmer for Enbedded Smart Systems

FLASH MICOM PROGRAMMER

Instruction Manual

Yokogawa Digital Computer Corporation

Page 2: FLASH MICOM PROGRAMMER Instruction Manual

2

Contents

1. Overview and Features ...............................................................................................8 2. General Precautions..................................................................................................10 Part Names and Functions ...............................................................................................11 4. Using the AF220.......................................................................................................14

4.1 Installation.................................................................................................................................... 14 4.2 Connecting with User System. ..................................................................................................... 17 4.3 Setting Up..................................................................................................................................... 20 4.4 Programming................................................................................................................................ 23

5. List of Commands ....................................................................................................26 5.1 Functions List............................................................................................................................... 26 5.2 File Operations ............................................................................................................................. 27

5.2.1 File Load ........................................................................................................................... 27 5.2.2 File Save............................................................................................................................ 28 5.2.3 File Purge .......................................................................................................................... 29 5.2.4 Current File Display (Function F4) ................................................................................... 30 5.2.5 Transfer Address Setting (Function F5) ............................................................................ 32

5.3 Buffer RAM Editing..................................................................................................................... 33 5.3.1 Edit (Buffer RAM Content Modifications) ....................................................................... 33 5.3.2 Block Store (Modifying Buffer RAM Contents)............................................................... 34 5.3.3 Buffer Clear (Buffer RAM Initialization).......................................................................... 36 5.3.4 Modified Bit Search (Modified Data Search).................................................................... 37 5.3.5 Checksum Value Display (Function 93) ........................................................................... 38 5.3.6 YSM File Check (Function 98) ......................................................................................... 39

5.4 Parameter Settings........................................................................................................................ 40 5.4.1 Execution Address Setting (Function 0)............................................................................ 40 5.4.2 Communication Channel Setting (Function D1) ............................................................... 42 5.4.3 UART Baud Rate Setting (Function D2)........................................................................... 43 5.4.4 CSI Baud Rate Setting (Function D9) ............................................................................... 44 5.4.5 TVcc Threshold Setting (Function D3) ............................................................................. 45 5.4.6 MCU Mode Setting (Function D4).................................................................................... 46 5.4.7 Watchdog Timer Setting (Function D5) ............................................................................ 47 5.4.8 Flash Memory Area Display (Function D6)...................................................................... 48 5.4.9 Communication Channel Setting (Function D7) ............................................................... 49 5.4.10 Displayed Model Name Change (Function D8) ................................................................ 50 5.4.11 Data Format Setting (Function 5)...................................................................................... 51 5.4.12 RS-232C Setting (Function 7) ........................................................................................... 52 5.4.13 MCU Operating Frequency Setting (Function DF) ........................................................... 53 5.4.14 Beep Setting (Function 91)................................................................................................ 54 5.4.15 Remote/Local Setting (Function 92) ................................................................................. 55 5.4.16 Version Display (Function 94) .......................................................................................... 56 5.4.17 Beep Tone Setting (Function 95)....................................................................................... 57 5.4.18 Battery Remaining Display (Function 96)......................................................................... 58 5.4.19 Read Mode Switchover (Function 99)............................................................................... 59

5.5 Ethernet Settings .......................................................................................................................... 60 5.5.1 Communication Channel Setting (Function E1)................................................................ 60 5.5.2 IP Address/Port Setting (Function E2) .............................................................................. 61 5.5.3 Gateway Address Setting (Function E3) ........................................................................... 62

5.6 List of Device Functions .............................................................................................................. 63 5.6.1 Copy .................................................................................................................................. 64 5.6.2 Blank Check ...................................................................................................................... 65

Page 3: FLASH MICOM PROGRAMMER Instruction Manual

3

5.6.3 Erase.................................................................................................................................. 66 5.6.4 Program ............................................................................................................................. 67 5.6.5 Read Check ....................................................................................................................... 68 5.6.6 E.P.R. ................................................................................................................................ 69

6. One Action Key Function.........................................................................................70 6.1 Function Overview....................................................................................................................... 70 6.2 One Action Key Setting ............................................................................................................... 71

6.2.1 Command Sequence File (*.CSB)..................................................................................... 71 6.2.2 Command Sequence File Format ...................................................................................... 71

6.3 Error Messages............................................................................................................................. 73

7. Sumcheck Function ..................................................................................................74 7.1 Sumcheck Overview..................................................................................................................... 74 7.2 Sumcheck Function Settings ........................................................................................................ 74

7.2.1 YSM Files (*.YSM) .......................................................................................................... 74 7.2.2 YSM File Format............................................................................................................... 75

8. Specifications ...........................................................................................................76 8.1 Operating Conditions ................................................................................................................... 76 8.2 RS-232C Interface........................................................................................................................ 77

8.2.1 Connector (RS-232C)........................................................................................................ 77 8.2.2 Interface Cable (AZ221).................................................................................................... 78 8.2.3 Interface Cable (AZ222).................................................................................................... 79

8.3 Ethernet Interface ......................................................................................................................... 80 8.3.1 Connector (Ethernet) ......................................................................................................... 80 8.3.2 Signal Table....................................................................................................................... 80

8.4 PC Card Interface ......................................................................................................................... 81 8.4.1 Connector (Control Module) ............................................................................................. 81 8.4.2 Signal Table....................................................................................................................... 81

8.5 External Key Entry Interface........................................................................................................ 82 8.5.1 Connector (EXT.KEY)...................................................................................................... 82 8.5.2 Signal Table....................................................................................................................... 82 8.5.3 Timing Specifications........................................................................................................ 83 8.5.4 EXT.KEY Interface Cable (AZ223).................................................................................. 83

8.6 Target Interface ............................................................................................................................ 84 8.6.1 Connector (TARGET PROBE) ......................................................................................... 84 8.6.2 Interface Cable (AZ210).................................................................................................... 85 8.6.3 Interface Cable (AZ211).................................................................................................... 86 8.6.4 Interface Cable (AZ212).................................................................................................... 87

9. Maintenance Service ................................................................................................88 9.1 Maintenance Service Contract Recommendation......................................................................... 88 9.2 Maintenance Service .................................................................................................................... 89 9.3 ES Optional Service ..................................................................................................................... 90

9.3.1 Purpose .............................................................................................................................. 90 9.3.2 Service Contents................................................................................................................ 90 9.3.3 Others ................................................................................................................................ 90

9.4 Lifetime Maintenance Service...................................................................................................... 91 9.5 Maintenance Contracts for Rental Machines................................................................................ 93 9.6 Maintenance Service System........................................................................................................ 94

Appendix List of Error Codes ......................................................................................96

Page 4: FLASH MICOM PROGRAMMER Instruction Manual

4

Instruction Manual No. M2320KE-06

Revision History Revision Publication Date Details of Change

Version 1 September 1, 1999 Initial Publication

Version 2 November 16,1999 Del. Appendix I and Appendix II

Version 3 June 12,2001 Correction of AZ211and AZ213 pin assign

Version 4 August 22,2001 Correspond to CE mark and

Correction of EXT.KEY pin assign

Version 5 June 25,2007 The information of the lead color change is added

Version 6 July 24,2007 Correction of One Action Key definitions

Notices (1) This manual may not be reproduced, neither in whole or in part, without permission.

(2) The contents of this manual are subjected to change without notice.

(3) Please contact YDC or your local distributors regarding any problems or suggestions.

(4) Regardless of (3), Yokogawa Digital Computer Corporation (YDC) accepts no liability for damages arose from the use of this product.

© 1999 Yokogawa Digital Computer Corporation. All rights reserved. Printed in Japan.

Page 5: FLASH MICOM PROGRAMMER Instruction Manual

5

Ensuring Safety Use of Flash Writer In order to ensure the proper and safety use of Flash Writer, please be sure to follow the safety caution mentioned below as operating Flash Writer. Yokogawa Digital Computer Corporation has no responsibility nor guarantee for any injuries which occur as a result of the violation of these safety caution and warnings.

♦ Following safety-related symbols are used on Flash Writer and its instruction manual for a safety use.

It indicates not only that there is a danger to humans as well as to the equipment, but also that it is necessary to refer to the instruction manual.

It indicates a safety ground terminal. As this terminal is on the main unit, please be sure to connect this terminal to the ground before operating.

Warning! In order to avoid the risk of death or serious injury which may occur as a result of an incorrect use.

Caution! In order to avoid the risk of minor injury or material damage which may occur as a result of an incorrect use.

♦ To avoid the risk of death or serious injury to users, such as electrocution or any other accidents, as well as the risk of damage to Flash Writer, please follow the warnings mentioned below.

Warning! • Use in Chemical Gases

Do not use Flash Writer in an environment where are combustible or explosive gases or steam. Using Flash Writer in such environment is extremely dangerous.

• Power Supply As Flash Writer is designed to prevent the electrocution or any other accidents, be sure to use the power supply pack (AC adapter) specified by Yokogawa Digital Computer Corporation ONLY. The power supply pack is designated as an option with /AC4P.

Confirm that the supply-side voltage matches to the rated power supply voltage for a power supply pack. Also ensure that the power supply switch (on the back panel) of Flash Writer is switched "OFF" before connecting to the power cord.

• Removing the Case Only qualified service engineers should remove the case of Flash Writer because of the high voltage.

Page 6: FLASH MICOM PROGRAMMER Instruction Manual

6

Making the Most of Flash Writer The Flash Writer is an electronic device which consists of high-precision electronic components. Please be sure to understand and follow the caution listed below in order to avoid any accidents and as well as to make the most of your Flash Writer.

1. Switch ON / Switch OFF Sequence

Warning! • Refer to the Switch ON / Switch OFF sequence below regarding Switch ON and OFF of the

host computer, Flash Writer, and the target system.

• The Switch ON / Switch OFF sequence should be followed in order to avoid major damages to the target system and Flash Writer itself. (especially between Flash Writer and the target system.)

<Power Up Sequence> (1) Host computer (2) Flash Writer (3) Target system

<Power Down Sequence> (1) Target system (2) Flash Writer (3) Host computer

2. Connecting the Probe and Connector

Warning! • Switch OFF the power supply of Flash Writer and the target system before plugging in or

unplugging any probes or cables.

• All probes and cables are designed to prevent an incorrect connection. Never force them to plug in nor unplug. Confirm the position and direction.

3. Disassembling Flash Writer

Warning! • Since Flash Writer contains printed circuit boards with minute patterns, never remove

screws or disassemble Flash Writer.

Page 7: FLASH MICOM PROGRAMMER Instruction Manual

7

IMPORTANT Flash Writer To make the most of Flash Writer, please read and understand AF200 Flash Writer Instruction Manual before use. After reading the instruction manual, please keep it for the further reference whenever required.

Please ensure that Flash Writer should be used only by persons who have read and understood the instruction manual. We strongly recommend that the first-time users receive an proper instruction from those who have a good knowledge of Flash Writer.

What is Flash Writer? The Flash Writer is AF200, Flash Writer main unit, control modules, and other related products manufactured by Yokogawa Digital Computer Corporation. The target system and the host computer are strictly excluded.

Flash Writer is an electronic device which consists of the high-precision electronic components. In order to make the most of Flash Writer and also to prevent any accidents, please follow the caution listed below.

A certain repair fee is required regarding the equipment damages resulted from an incorrect use or connection, etc. Please aware that it may require a few months for repairs.

Regarding software products and manuals, YDC guarantees only if there are any damages of media provided by Yokogawa Digital Corporation, manual defects or trouble executing the program installation.

If proved that there are bugs or that there are problems apart from those listed above, the action will be taken based on the maintenance agreement.

Caution! • Be sure to Switch OFF the power supply of Flash Writer and the target system before

plugging in or unplugging any cables between Flash Writer and the target system. Be aware that plugging in or unplugging any cables while the power supply is ON, may result in an explosion or ignition of Flash Writer or the target system.

• Before Switching ON the power supply, be sure to confirm whether the direction of Pin 1 in the probe tip matches to Pin 1 Socket in the target system. An incorrect connection may result in an explosion or ignition of Flash Writer or the target system.

Warning! • As particular parts of electronic circuits in the probe tip are exposed, Flash Writer should be

used only in environments where are protected from a static electricity. Using Flash Writer in such environment as without static electric protection, may result in destroying Flash Writer or the target system.

• The Switch ON / OFF sequence should be followed. Flash Writer should be switched ON prior to the target system and remained ON while Switch ON / OFF of the target system power supply. An incorrect Switch ON / OFF sequence may result in a serious damage to Flash Writer or the target system circuits.

Page 8: FLASH MICOM PROGRAMMER Instruction Manual

8

1. Overview and Features The AF220 is a flash microprocessor programmer for programming microprocessors with embedded flash ROMs. Through using the microprocessor-specific control modules (optional PC cards) the AF220 can support programming specifications for different types of microprocessors with embedded flash ROMs. The AF220 model offers more enhancements and higher speeds than the legacy AF200 model and supports Ethernet (10 BASE-T). As the AF220 has forward compatibility with the AF200 models, all of the control modules used with the AF200 can also be used with the AF220.

CAUTION!: The /ACP and /AC2P AC adapters and the AZ201 and AZ202 RS-232C cables used with the AF200 can not be used with the AF220. Use /AC3P or /AC4P AC adapters and AZ221 or AZ222 RS-232C cables with the AF220.

Features

1. The AF220 can support the programming specifications for all types of microprocessors using the microprocessor-specific control modules (optional PC cards).

2. The user system can connect to the AF200 using microprocessor-specific target probes (option). The target microprocessors can be programmed while they are mounted and soldered on the user system.

3. It can be used as a standalone. Programming information can be saved as a file in the DOS area of the PC card.

4. Remote control from the host computer can be performed using an RS-232C interface. This enables file transfer and programming parameter changes (optional AZ290 software is required).

5. As the AF220 can be connected using Ethernet it can be connected to a network and used to build a system. The AF220 can be easily used to remotely control application software created at customers' sites using remote control package AZ291 (optional software which uses Microsoft's COM). The user can upgrade the AF220 to handle automatic programming systems.

6. High speed flash memory programming.

7. High speed search for modified data.

8. Modification information can be saved on the PC cards in the form of modification files for the original programming information files.

Page 9: FLASH MICOM PROGRAMMER Instruction Manual

9

CE Notes: ( only for AF221 series )

The CE mark on the back of this Yokogawa Digital Computer (YDC) product indicates that it conforms to the requirement of the EMC (Electromagnetic Compatibility) Directive of the European Union (Directive 89/336/EEC). This YDC product has been tested to the following technical standards:

■ EN 55022 (1998) : - Conducted Emission test. - Radiated Emission test.

■ EN55024 (1998) : - Power-frequency magnetic field.

- Radio-frequency electromagnetic field. - Electrostatic discharge. - Radio-frequency continuous conducted. - Fast transients. - Voltage dips and interruptions. - Surges.

■ EN61000-3-2 (1995): - AC Mains Harmonic Emissions.

■ EN61000-3-3 (1995): -Voltage Fluctuations and Flicker.

The details of product’s compliance with the EMC Directive are contained in a Technical Construction File (TCF) which is on file at Ashling Microsystems Ltd., National Technological Park, Limerick, Ireland.

To ensure that your product can be used without causing interference to, or being affected by other electronic equipment, please note the following:

■ Before using this YDC product, please read this User Manual, and in particular those sections of the manual that describe how the product may be safety used; and that describe how to avoid static-discharge damage to this YDC product, or the system in which it is used.

■ This product is designed for use with a Personal Computer whose electromagnetic emission and susceptibility performance comply with the EMC Directive.(at the Remote Control Application.)

■ This YDC product contains high speed digital electronic circuits which are susceptible to electrostatic discharges. The user is advised that no part of the product or its enclosure should be subjected to an electrostatic discharge exceeding 2KV.

■ This YDC product contains an Target Probe that is designed to attach directly to digital logic voltages in the range 0-5V (except for Vpp voltage). Please note in particular that.

・The Target probe should be attached to a target system, with the programmer powered on, before powering up the target system.

・If you have selected a specific operation voltage (for example 3.3V) then no voltage in excess of this figure should be applied to the Target probe (unless the User Manual specifically states that a higher voltage is permissible in certain cases).

■ Due to the nature of the Flash Micro Programmer, the target system and the connections to the Programmer having to be exposed and having no shielding, it is to be expected that this YDC product will not meet the Class A Radiated Emission requirements of EN 55022. To resolve this issue the User Instructions specify that Radio and Broadcast Receivers used within a 30m. radius of the Programmer are likely to experience interference from the Flash Micro Programmer. The choice of 30m. distance is based on the actual radiated emissions measured at 10m..

Page 10: FLASH MICOM PROGRAMMER Instruction Manual

10

2. General Precautions 1. Only use AC adapters that Yokogawa Digital Computer (YDC) has approved. When you

connect the DC jack to the AF220, make sure that the AC plug has been unplugged and the Power Switch has been turned off.

2. Do not use the AF220 in dusty areas, where there is direct sunlight, or where corrosive gas is generated.

3. Use the AF220 in an environment with a temperature between 5 and 40 ℃ and between 20 and 80% humidity.

4. If there is noise in the AC current line then use a noise filter to eliminate the noise.

5. Do not format the control modules (PC cards). The control modules contain the control programs for the flash writers as well as the DOS area for the user programs. Formatting the control modules will destroy the control programs.

6. Turn off the AF220 power switch before replacing the control modules.

7. The procedure for turning the power on is to turn the AF220 on first and the user system second. The power should be turned off in the reverse order.

8. The AF220 can be operated with the PC cards connected to the specified PC card connector. The AF220 can not be operated with the PC cards removed.

CAUTION:

Carelessness while using the AF220 can cause the definitions (card contents) to be destroyed. YDC does offer a fee-based service to program the definitions. For more information contact us or one of our authorized distributors.

Visit our home page for information about how to use the AF220 and related products and for the latest information.

Flash writer home page: http://www.ydc.co.jp/micom/

Page 11: FLASH MICOM PROGRAMMER Instruction Manual

11

3. Part Names and Functions

7. EXT.KEY Connector

5. Target Connector

6. DC Power Jack

4. LCD

3. Model Name

2. RS-232C Connector

10. Power Switch 9. PC Card slot

1. Ethernet Connector

8. Keyboard

Page 12: FLASH MICOM PROGRAMMER Instruction Manual

12

1. Ethernet Connector

This is the connector to connect with an Ethernet. The AF220 comes equipped with it.

2. RS-232C Connector

This is a serial communications connector to connect with the host computer.

3. Model Name

This is the model name.

4. LCD

Displays all types of information.

I. Programming Power Application Display

This shows that high voltage power for programming is being applied. This display can be reset by pushing the RESET key.

II. Control Module Model Name

Displays the model name of the control modules in the PC cards. How to customize this display part is described in Chapter 5.

III. Device Function Display

Displays the device function which is being executed.

IV. Function Display

Displays the function which is being executed.

V. Bit Modification Display

Displays that the buffer RAM data is modified. Displays "M" when the data is modified by key input or buffer transfer.

Ⅰ Ⅱ Ⅲ

H V / F O 0 0 1 S 1 / B L A N K

F / M / 0 0 1 0 0 0 / A A / A A

ⅧⅦⅥ Ⅴ Ⅳ

Page 13: FLASH MICOM PROGRAMMER Instruction Manual

13

VI. Address Display

Displays the flash memory address, data key entry, and all types of messages. This only displays the lowest six address digits and does not display the higher address digits.

VII. Buffer

Displays buffer RAM data and error codes.

VIII. ROM Data/Checksum

Displays the flash ROM data and the buffer RAM data checksum values.

5. Target Connector

This is the connector to connect the target system and the probe.

6. DC Power Jack

This jack is to connect the AC adapter for the AF220.

7 EXT KEY Connector

This connector can be used to externally operate "DEV", "RESET", "SET", and two blank keys. Use the connection cable AZ223 (option).

8. Keyboard

0-F Use 16 hexadecimal data keys to enter the numerical values. Additionally, 8, 9, C, D, E, and F can be used combined with the DEV key to specify all device functions.

RESET Use this key to abort operations and to delete error messages. This can also cancel remote operations at the same time.

FUNC, DEV These are the command keys which are combined with the 16 hexadecimal data keys for all operating settings.

▲ ▼ These are the keys to increment and decrement the address values. The buffer RAM and the ROM data for the addresses are displayed simultaneously. You can use the FUNC key to enter parameter delimiters.

SET Use this key to set the modes and to execute commands with the FUNC and DEV keys. You can use the SET key to modify the data in the buffer RAM.

9. PC Card Slot

This is the slot to put the control modules in. The AF220 only operates with the AF220-specific PC cards.

10. Power Switch

I: Power ON O: Power OFF

Page 14: FLASH MICOM PROGRAMMER Instruction Manual

14

4. Using the AF220

4.1 Installation

Ethernet Type

Options

• Remote controller (AZ290 ver 3.0 or higher)

• Control modules (Requires control modules compatible with your microprocessors)

• Target probe

AF220

AC Adapter

PC

Twisted Pair CableUser System

Target Probe

Control Module

AZ290

AC 110V

Ethernet

Hub

Page 15: FLASH MICOM PROGRAMMER Instruction Manual

15

RS-232C Type

Options

• Remote controller (AZ290)

• RS-232 cable (AZ221)

• Control modules (Requires control modules compatible with your microprocessors)

• Target probe

PC AF220

AC Adapter

Target Probe

User System

AC100V

AZ290

RS-232C

Page 16: FLASH MICOM PROGRAMMER Instruction Manual

16

Standalone Type

Options

• Control module (Requires control modules compatible with your microprocessors)

• Target probe

AF220

AC Adapter

Target Probe

User system

Control module

Page 17: FLASH MICOM PROGRAMMER Instruction Manual

17

4.2 Connecting with User System.

Pin Assignments

AF220 pin assignments are as shown below. For input signals to the user system, YDC recommends that pull-up resisters (about 10 K Ω) be attached considering malfunctions when the AF220 is not connected. The definitions for specific signal lines vary for the control modules. For more information see the manual for your control module.

Pin Signal Name Definition Type

1 GND Ground -

2 TVccd User system power input (or driver power for I/F when an optional adapter is installed)

1

3 Vcc 5 V output (max. 100 mA) 7

4 TRES Rest signal (active high) 3

5 /TRES Rest signal (active low) 2

6 TCK Clock output for synchronous communication 3

7 NC Not Connected -

8 NC Not Connected -

9 TAUX2 Auxiliary input/output pin (Definition may vary depending the type of the Control Module)

3

10 /TICS 3

11 /TOE Output pin (Definition may vary depending the type of the Control Module) 3

12 TMODE Output pin (Definition may vary depending the type of the Control Module) 3

13 TTXD Transmission data output pin (also can be receive pin for bi-directional transfer) 4

14 GND Ground -

15 GND Ground -

16 TVpp1 Programming voltage output pin (max. 200 mA) 5

17 TVpp2 Variable voltage output pin (0-12 V, max. 100 mA) 5

18 WDT Watchdog timer output 2

19 TAUX3 Auxiliary input/output pin (Definition may vary depending the type of the Control Module)

4

20 TAUX4 Auxiliary input/output pin (Definition may vary depending the type of the Control Module)

4

21 NC Not Connected -

22 NC Not Connected -

23 TAUX Auxiliary input/output pin (Definition may vary depending the type of the Control Module)

4

24 TBUSY Busy input signal for synchronous communication 6

25 T10 Input pin (Definition may vary depending the type of the Control Module) 6

26 T11 Not used (or user power monitor input when an optional adapter is installed) 1

27 TRXD Receive data input pin 6

28 GND Ground -

Connector: DX10-28S (Hirose) If you use /TICS then use pull-up resisters (about 10 KΩ).

Page 18: FLASH MICOM PROGRAMMER Instruction Manual

18

Type 1

Type 2

Type 3

LM36

LM36

TVccd

TI1

To VHC244&125 VCC

To voltage monitor circuit

47K

1u0.1u47K

47K 1u0.1u

1M

AF220 side User Target side

220

1M

LS07

AF220 side User Target side

220

1M

VHC244

AF220 side User Target side

Page 19: FLASH MICOM PROGRAMMER Instruction Manual

19

Type 4

Type 5

Type 6

Tyep 7

220

1M

VHC125

AF220 side User Target side

1M

2SA1362

10

0.22u

AF220 side User Target side

10K

1M

HCT541AF220 side User Target side

1FUSE

AF220 side User Target side

Page 20: FLASH MICOM PROGRAMMER Instruction Manual

20

4.3 Setting Up

1. Control Module Check

After checking that the control module is compatible with the target microprocessor then insert it in the AF220 PC card slot

2. Turning the Power On

Turn the power switch ON. The initialization process begins. When the initialization process is completed the control module model name will be displayed on the LDC. Then turn ON the power for the user system.

3. Setting Ethernet (AF220)

Setting the Communication Channel

Set the communication channel between the AF220 and the PC. RS-232 or Ethernet settings can be used for the channel.

Key Operations LCD Display

Communication channel setup function

Select Ethernet

Decision

FUNC E 1 E/1/RS-23 / C2

▼▲ E/1/ETHER / TEN

SET FUNC SET

Page 21: FLASH MICOM PROGRAMMER Instruction Manual

21

Setting IP Address and Port Number

Set the AF220 IP address and port number.

Example: Set the IP address to "192.0.0.1" and the port number to "1100".

Key Operations LCD Display

IP address and port number setup function

Set the IP address to "192"

Set the IP address to "0"

Set the IP address to "0"

Set the IP address to "1"

Set the port number to "1100"

Decision

FUNC E 2 192.168. 0 .0

1 9 2 ▼ 192.168. 0 .0

0 0 0 ▼ 192. 0. 0 .0

0 0 0 ▼ 192. 0. 0 .0

0 1 0 ▼ 192. 0. 1 .0

1 0 0 1 ▼ E/2/ 0011x0

SET FUNC SET

Page 22: FLASH MICOM PROGRAMMER Instruction Manual

22

Setting Gateway Address

Set the gateway address if the AF220 will be accessed from different networks or from the same network using routers. If the AF220 and the PC are on the same network then set the gateway address to "0.0.0.0".

Example: Set the gateway address to "192.0.0.254".

Key Operations LCD Display

Gateway address setup function

Set the gateway address to "192"

Set the gateway address to "0"

Set the gateway address to "0"

Set the gateway address to "254"

Decision

4. Setting Parameters

The default parameter setting values can be used as they are. The parameter values can be changed if needed. Consult your control module manuals for the default values.

FUNC E 3 0. 0. 0 .0

0 0 0 ▼ 192. 0. 0 .0

1 9 2 ▼ 192. 0. 0 .0

0 0 0 ▼ 192. 0. 0 .0

2 5 4 ▼ 192. 0. 452.0

SET FUNC SET

Page 23: FLASH MICOM PROGRAMMER Instruction Manual

23

4.4 Programming This manual describes how to operate the AF220 using the keyboard. Consult the AZ290 manual for information on remote controlling via RS-232 and Ethernet. Basic instructions for programming are described below. For more details refer to the list of commands in Chapter 5.

1. Initializing the Buffer RAM*1

Initialize*2 the buffer RAMarea which corresponds to the flash ROM area of the microcomputer (MCU).

Key Operations

Buffer RAM initialization function

Decision

*1 Buffer RAM

This is the place where the program data for the MCU is stored. Binary data is converted and stored by loading object files on the buffer RAM. Data can be modified using the edit function (Chapter 5, Section 3). As the buffer RAM is on the PC card the buffer RAM data is preserved when the AF220 power is switched OFF.

*2 Initialization

The buffer RAM data at initialization varies depending on the control module and it will be "00" or "FF". (Consult your control module manual for information about the data contents.)

FUNC 2

SET FUNC SET

Page 24: FLASH MICOM PROGRAMMER Instruction Manual

24

2. Setting the Execution Address

Set the execution target area for the device function. The default setting is the entire flash ROM area. Change the default setting if you want to change the programming area.

Example: Change the setting address from "FE0000H" to "FF0000H".

Key Operations LCD Display

Programming area setup function

Enter the first address

Enter the last address

Decision

If you change the execution address a warning message will be displayed when the AF220 power is restarted.

Execution address (Function 0)

Microprocessor flash ROM area (Function D6)

Transfer address (Function F5)

If the above settings are not consistent, a warning message such as "ADDR WARN FC0/F5" will be displayed and there will be a beep. Push the RESET key to cancel the warning. This warning can be ignored if you intentionally use the AF220 with a narrow device function execution area.

0/ /FF000 / L/0

0/ /FC000 / F/0FUNC 0

F E 0 00 0 ▼ 0/ /FE000 / F/0

F F 0 00 0 ▼

SET FUNC SET

Page 25: FLASH MICOM PROGRAMMER Instruction Manual

25

3. Loading the Object File

Load the user object file in the PC card DOS area on the AF220 buffer RAM. For example, load the "DAT128K.BIN" file.

Key Operations LCD Display

File load function

Select "DAT128K.BIN".

Decision

4. Programming

Execute the EPR command to perform the ERASE, BLANK-CHECK, PROGRAM, and READ-VERIFY commands sequentially. Each command can be executed individually. (The available commands vary depending on the control modules. For more information consult your control module manual.)

Key operations LCD Display

EPR command

F/1/TEST1 XEH.FUNC F 1

SET FUNC SET

▼▲ F/1/DAT12 NIB.K8

F/ /LOADI ...GN

FDEV

SET DEV SET ERASING

BLANK CH GNIKCE

PROGRAMM GNI

READ CHE GNIKC

D/ /PASS 00/ /

Decision

Displayed sequentially

Page 26: FLASH MICOM PROGRAMMER Instruction Manual

26

5. List of Commands

5.1 Functions List

Command Command contents Command keyFile operation File Load Calls a file from the control modules to the buffer RAM. "FUNC", "F1" File Save Saves the buffer RAM contents to the control module as a file. "FUNC", "F2" File Purge Deletes files on the control module. "FUNC", "F3" Current File Display Displays the name of the file loaded in the buffer RAM. "FUNC", "F4" Transfer Address Setting Sets the buffer RAM address range. "FUNC", "F5" Buffer area editing Edit Modifies the buffer RAM contents. Block Store Modifies the data in the specified range of the buffer RAM. "FUNC", "1" Buffer Clear Resets the buffer RAM data to the initial state. "FUNC", "2" Modified Bit Search Displays the addresses of the modified buffer RAM data. "FUNC", "3" Checksum Value Display Displays checksum value of the buffer RAM data. "FUNC", "93" YSM File Check Performs sumcheck using the YSM file. "FUNC", "98" Parameter settings Execution Address Setting Sets the device function execution address range. "FUNC", "0" UART/CSI Switchover Sets the communication channel between the AF2xx and the target system. "FUNC", "D1" UART Baud Rate Setting Sets the baud rate for UART communication. "FUNC", "D2" TVcc Threshold Setting Sets the target system operating voltage. "FUNC", "D3" MCU Mode Setting Target MCU mode switchover.*2 "FUNC", "D4" Watchdog Timer Setting Sets the pulse to be sent to the watchdog timer circuit in the target system. "FUNC", "D5" Flash Memory Area Display Displays the data in the target MCU's flash memory area. "FUNC", "D6" Communication Channel Setting

Sets the communication channel between the AF2xx and the target system. "FUNC", "D7"

Displayed Model Name Change

Changes the model name displayed on the AF2xx. "FUNC", "D8"

CSI Baud Rate Setting Sets the CSI communication baud rate. "FUNC", "D9" Data Format Setting Sets data format (50:Intel Hex, 60: Motorola S) "FUNC", "5" RS-232C Setting Sets the baud rate, data length, stop bit, and parity. "FUNC", "7" MCU Operating Frequency Setting

Sets the MCU operating frequency. "FUNC", "DF"

Beep Setting Turns the beep ON or OFF. "FUNC", "91" Remote/Local Setting Sets the remote/local specification. "FUNC", "92" Version Display Displays the version. "FUNC", "94" Beep Tone Setting Sets the beep tone (high, medium, low). "FUNC", "95" Battery Remaining Displays the amount of the control module battery remaining "FUNC", "96" Read Mode Switchover Sets the read check mode. "FUNC", "99" Application read setting(Contact to YDC in detailes) ON/OFF Setting Sets the application read ON (enable) or OFF (disable). "FUNC", "DA" Wait T1 Setting "FUNC", "DB" Wait T2 Setting "FUNC", "DC" Wait T3 Setting "FUNC", "DD" Wait T4 Setting "FUNC", "DE" Ethernet setting (AF220 only) Ethernet/RS-232C Switchover Sets the communication channel between the AF220 and the PC. "FUNC", "E1" IP Address/Port Setting Sets the AF220 IP address and port number. "FUNC", "E2" Gateway Address Setting Sets the AF220 default gateway address "FUNC", "E3"

* Some commands are not supported for specific MCUs. * The MCU-specific commands are assigned from "FUNC","81" to "FUNC", "8F". In all cases, refer to your control module

manual.

Page 27: FLASH MICOM PROGRAMMER Instruction Manual

27

5.2 File Operations

5.2.1 File Load

Calls the specified object file from the control module.

AF220 Operations

... File Load command ... Select the name of the file to be loaded. ... Execute object file loading on the buffer RAM.

Operation Example: Load the "DAT128K.BIN" file from the control module.

AF220 Operations AF220 Display

File Load command Select "DAT128K.BIN" Execute file loading.

FUNC F 1

F FUNC 1

▼▲

SET FUNC SET

F / 1 / T E S T 1 .H E X

F / 1 / D A T 1 2 8 K .B I N

F / / L O A D I N G ...

(Displayed during loading, and then disappeared when the loading completes.)

▼▲

FUNCSET SET

(Select the file name when it is displayed.)

Page 28: FLASH MICOM PROGRAMMER Instruction Manual

28

5.2.2 File Save

Saves the AF220 buffer RAM contents onto the DOS area on the PC card as an object file. If you select saving the modified data as a differential file, the automatically created modified object file (three digits will be added to the current file name) will be saved. If you select saving the contents as a new object file, then an empty file will be saved. (Some of the control modules will automatically create RAMxxx.bin, RAMxxx.S, or RAMxxx.HEX file as an empty file.)

*1 Differential file: A file which only saves the modified parts of the object.

*2 It is useful to have an empty object file prepared before using the AF220.

AF220 Operations

... File Save command ... Select the name of the file to save. ... Execute save on the control module.

Operation Example: Save the modified data as a differential file. (The current file name is "DAT128K.BIN)

AF220 Operations AF220 Display

File Save command Execute saving.

FUNC F 2

▼▲

FUNC SET SET

FUNC F 2

FUNCSET SET

F 2 / + D A T 1 2 8 K .0 0 0

(Difference file will be created automatically when you save it. Execute saving.)

F / / S A V I N G ...

(Displayed during loading, and then disappeared when the loading completes.)

Page 29: FLASH MICOM PROGRAMMER Instruction Manual

29

5.2.3 File Purge

Deletes the object files on the control module.

AF220 Operations

... File Purge (delete) command ... Select the file to purge. ... Execute file purging.

... To delete push the SET key. To cancel the deletion push the RESET key.

Operation Example: Delete the "DAT128K.BIN" file from the control module.

AF220 Operations AF220 Display

File Purge command

Select the "DAT128K.BIN" file.

Execute Purge command

Execute removing.

FUNC F 3

▼▲

SET RESET or

FUNCSET SET

FUNC F 3

▼▲

FUNCSET SET

SET

F / 3 / T E S T 1 .H E X

F / 3 / D A T 1 2 8 K . B I N

(Select the file to delete.)

F / / P U R G E O K ?

Page 30: FLASH MICOM PROGRAMMER Instruction Manual

30

5.2.4 Current File Display (Function F4)

Displays the name of the current file loaded in the buffer RAM. This command also displays KEY, BTP, YSM, and CSB files. If there are no files, a "NO FILE" message will be displayed.

AF220 Operations

... Current File Display command ... Execute it. ... Select display (CFL⇔YSM⇔CSB⇔BTP⇔KEY). ... Display completed. Note: AF220 Display

CFL ..... Current file YSM .... YSM file CSB ..... CSB file BTP ..... BTP file KEY..... KEY file

Note:

Some control modules do not support specific functions. In that case, unsupported items will not be displayed.

*YSM File: This is required to use the sumcheck function. For further information see Chapter 7, "Sumcheck Function".

*CSB File: This is required to use the one-action key function. For further information see Chapter 6, "One-action key function".

* BTP File: This is a programming control program which is required to program the MCU. According to the type of the MCU this file may be required. For further information see your control module manual.

* KEY file: There are times when MCUs with security functions need KEY files. For further information see your control module manual.

FUNC F 4

FUNCSET SET

▼▲

RESET

/ F F 0 0 1 / C O P Y

C F L / D A T 1 2 8 K . B I N

(Shadowed section shows the selected item.)

Page 31: FLASH MICOM PROGRAMMER Instruction Manual

31

Operation Example: Display the current file, BTP file, KEY file, YSM file, and CSB file.

AF220 Operations AF220 Display

Current File Display command

Execute the command → Current file is displayed.

YSM file is displayed.

CSB file is displayed.

BTP file is displayed.

Key file is displayed.

Display completed.

F / / 4 / / FUNC F 4

FUNCSET SET

RESET

(Current file is displayed with “CFL” leading.)

C F L / D A T 1 2 8 K .B I N

Y S M /

(YSM file is displayed with “YSM” leading.)

D A T 1 2 8 K .Y S M

C S B /

(CSB file is displayed with “CSB” leading.)

D A T 1 2 8 K .C S B

B T P /

(BTP file is displayed with “BTP” leading.)

M 0 0 1 H 0 1 .B T P

K E Y /

(KEY file is displayed with “KEY” leading.)

D A T 1 2 8 K .K E Y

Page 32: FLASH MICOM PROGRAMMER Instruction Manual

32

5.2.5 Transfer Address Setting (Function F5)

This carries out the buffer RAM range setting when object file loading and saving is done. For object files with Intel HEX and Motorola S formats the files contain address descriptions so that at the file loading time the settings are not used.

AF220 Operations

... Transfer Address Setting command Enter the first address ... Enter the first address. Enter the last address ... Enter the last address. ... Execute transfer address setting.

Notes: AF220 display during address settings.

-F ... First address

-L ... Last address (Shadowed section shows the selected item.) Operation Example:

Set the first address to "FE0000 and the last address to "FFFFFF".

AF220 Operations AF220 Display

Transfer Address Setting command

Enter the first address.

Enter the last address. Execute transfer address setting.

SET FUNC SET

FUNC F 5

/ F F 0 0 1 / C O P Y

F / / F E 0 0 0 0 / - F /

1 / / F F F F F F / - L /

(Check that “-L” (last address) is displayed.)

FUNC F 5

▲F E 0

0

0

0

▲F F F

F

F

F

1 / / F C 0 0 0 0 / - F /

1 / / F E 0 0 0 0 / - F /

(Check that “-F” (first address) is displayed.)

SET FUNC SET

Page 33: FLASH MICOM PROGRAMMER Instruction Manual

33

5.3 Buffer RAM Editing

5.3.1 Edit (Buffer RAM Content Modifications)

Calls the contents of the specified buffer RAM address to edit them.

AF220 Operations

Enter the address ...Enter the address. Enter the modified data ...Modify the data. Operation Example:

Modify the data of the buffer address "FE0000" to "00".

AF220 Key Operations AF220 Display

Enter the address "FE0000".

Modify the data to "00".

* Buffer RAM

This is the location to store the data to program the MCU.

The data is converted to binary data and saved by loading the object file onto the buffer RAM. Even if the AF220 power is OFF the buffer RAM data is preserved because the buffer RAM is on the PC card.

SET

SET

F E 0

SET0

0

0

/ / F E 0 0 0 0 / 0 0 / F F 0 0 SET

/ / F E 0 0 0 0 / F F / F F

(Changing moves to next address.)

Page 34: FLASH MICOM PROGRAMMER Instruction Manual

34

5.3.2 Block Store (Modifying Buffer RAM Contents)

Fills the specified range of the buffer RAM with the same specified data.

AF220 Operations

...Block Store command Enter the first address ...Enter the first address. Enter the last address ...Enter the last address. Enter the modified data ...Enter the new data. ...Execute buffer modifying.

Note: AF220 display during address and data entries.

-F... First address

-L... Last address

(Shadowed section shows the selected item.) -d... New data

1 FUNC

FUNCSET SET

/ F F 0 0 1 / C O P Y

1 / / F E 0 0 0 0 / - F /

Page 35: FLASH MICOM PROGRAMMER Instruction Manual

35

Operation Example: Modify data in the buffer RAM addresses from "FE0000" to "FEFFFF" to "55".

AF220 Operations AF220 Display

Block Store command

Enter the first address.

Enter the last address.

Enter the new data.

Execute buffer modifying.

FUNC 1

▲F E 0

0

0

0

▲F E F

F

F

F

5

5

1 / / F E 0 0 0 0 / - F /

(Check that “-F” (first address) is displayed.)

1 / / F C 0 0 0 0 / - F /

SET FUNC SET

1 / / 5 5 / - d/

(Check that “-D” (data) is displayed.)

1 / / F E F F F F / - L /

(Check that “-L” (last address) is displayed.)

Page 36: FLASH MICOM PROGRAMMER Instruction Manual

36

5.3.3 Buffer Clear (Buffer RAM Initialization)

Initializes the buffer RAM which corresponds to the flash memory area (displayed by Function D6).

AF220 Operations

...Buffer Clear command ...Execute buffer clearing. * Initialization

The data at the time of buffer RAM initialization will differ from the control module and this will be "00" or "FF". (Consult your control module manual concerning the data contents.)

2 FUNC

FUNCSET SET

Page 37: FLASH MICOM PROGRAMMER Instruction Manual

37

5.3.4 Modified Bit Search (Modified Data Search)

Searches for and displays the addresses of the modified buffer RAM data, which correspond to the flash memory area (displayed by Function D6).

AF220 Operations AF220 Display

...Modified Bit Search command ...Execute searching.

...Display the addresses located. (▲: Next, ▼:Previous)

F / / S E A R C H I N G

(Searching the modified data.)

3 FUNC

FUNCSET SET

▼▲

3 / / F E 0 0 0 0 / /

F / M / F E 0 0 0 1 / 1 1 / 0 1

(Displays the address for modified data.)

If modified data is found,

/ / / /

If no modified data is found,

(Nothing is displayed.)

Page 38: FLASH MICOM PROGRAMMER Instruction Manual

38

5.3.5 Checksum Value Display (Function 93)

Displays the checksum values of the object file loaded on to the buffer RAM. The two types of checksum values below will be displayed

F0: Checksum value for the device function execution area set using Function 0.

F5: Checksum value for the buffer RAM area set using Function F5.

AF220 Operation AF220 Display

Checksum Value Display command

Execute checksum value display.

Display completed.

FUNC 9 3

SET FUNC SET

RESET

S U C H E C M K I N G

9 / / / / 3

S U M 0 / 0 1 F F 5 / 0 1

Page 39: FLASH MICOM PROGRAMMER Instruction Manual

39

5.3.6 YSM File Check (Function 98)

Compares the YSM file contents and the buffer RAM contents. For more information see Chapter 7, " Sumcheck Functions".

AF220 Operation AF220 Display

Checksum Value Display command

Execute checksum

value display. Display completed. Error Display

• YSM FILE NOT FOUND

Cause: Displayed when the YSM file is not found.

Action: Copy the YSM file on the PC card.

• YSM FILE FORMAT ERROR

Cause: The YSM file has the wrong description or the file is corrupted.

Action: Check that the YSM file has the proper format and correct it.

• YSM CHECK ERROR YSM/XX RAM/YY

Displayed when checksum values differ during a check.

XX shows the checksum value described in the YSM file, while YY shows the checksum value for the buffer RAM.

• YSM CHECK ERROR ADDRESS:ZZZZZZZ

Displayed when the data described on the YSM file and the buffer RAM data differ during a check. ZZZZZZZ shows the error address.

FUNC 9 8

SET FUNC SET

RESET

Y S C H E C M K I N G

9 / / / / 8

/ / S S P A / /

(Displayed if sumcheck is passed. If an error occurs, the error location will be displayed.)

Page 40: FLASH MICOM PROGRAMMER Instruction Manual

40

5.4 Parameter Settings

5.4.1 Execution Address Setting (Function 0)

Sets the target area for the device function execution. Make sure that the first address and the ROM first address match.

AF220 Operations

... Execution Address Setting command Enter the first address ... Enter the buffer RAM first address. Enter the last address ... Enter the buffer RAM last address. Enter the ROM first address ... Enter the flash memory first address. ... Execute address setting. Note: AF220 display during address entries.

F........ First address L........ Last address AL..... Block alignment rF....... ROM first address

* Some control modules do not display the ROM first address.

* When the block alignment is ON and you try to specify the address within a block, the alignment is performed automatically.

FUNC 0

SET FUNC SET

/ F F 0 0 1 / C O P Y

0 / / F E 0 0 0 0 / F /

(Shadowed section shows the selected item.)

Page 41: FLASH MICOM PROGRAMMER Instruction Manual

41

Operation Example: Set the first address to "FE0000", the last address to "FFFFFF", and the ROM first address to "FE0000".

AF220 Operations AF220 Display

Execution Address Setting command

Enter the first address.

Enter the last address.

Enter the ROM first address.

Execute address execution setting.

SET FUNC SET

▲F E 0

FUNC 0

▲F F F

F

F

F

F E 0

0

0

0

0 / / F E 0 0 0 0 / F /

0 / / F F F F F F / L /

0 / / F E 0 0 0 0 / rF /

(Check that “F” (first address) is displayed.)

(Check that “L” (last address) is displayed.)

(Check that “rF” (ROM first address) is displayed.)

0 / / F C 0 0 0 0 / F /

Page 42: FLASH MICOM PROGRAMMER Instruction Manual

42

5.4.2 Communication Channel Setting (Function D1)

Sets the communication channel between the AF220 and the target system. You can select "UART" or "CSI" for the communication channel to accommodate the MCU specifications.

AF220 Operations AF220 Display

...Communication Channel Setting command

... Select the channel. ...Execute channel setting.

FUNC D 1

SET FUNC

▲ ▼

SET

D / 1 / U A R T / /

D / 1 / C S I / /

(Select UART or CSI using the up and down arrow keys.)

Page 43: FLASH MICOM PROGRAMMER Instruction Manual

43

5.4.3 UART Baud Rate Setting (Function D2)

Sets the UART baud rate if the communication channel between the AF220 and the target system is UART. You can select "2400", "4800", "9600", "19200", "31250", "38400", "57600", "62500", "76800", or "10400" as the baud rate to accommodate to the MCU specifications.

AF220 Operations AF220 Display

...UART Baud Rate Setting command

...Select the baud rate. ...Execute UART

baud rate setting

FUNC D 2

▲ ▼

SET FUNC SET

D / 2 / 2 4 0 0 / /

D / 2 / 4 8 0 0 / /

D / 2 / 9 6 0 0 / /

D / 2 / 9 2 0 0 1 / /

D / 2 / 1 2 5 0 3 / /

D / 2 / 8 4 0 0 3 / /

D / 2 / 7 6 0 0 5 / /

D / 2 / 2 5 0 0 6 / /

D / 2 / 6 8 0 0 7 / /

(Select the baud rate using the up and down arrow keys.)

D / 2 / 0 4 0 0 1 / /

Page 44: FLASH MICOM PROGRAMMER Instruction Manual

44

5.4.4 CSI Baud Rate Setting (Function D9)

Sets the CSI baud rate if the communication channel between the AF220 and the target system is CSI. You can select "62.5K", "125K", "250K", "500K", "850K", or "1.25M" as the baud rate to accommodate the MCU specifications.

AF220 Operations AF220 Display

...CSI Baud Rate Setting command

...Select the baud rate. ...Execute CSI

baud rate setting.

FUNC D 9

▲ ▼

SET FUNC SET

D / 9 / 2 .5 K 6 / /

D / 9 / 1 2 5 K / /

D / 9 / 2 5 0 K / /

D / 9 / 5 0 0 K / /

D / 9 / 8 5 0 K / /

(Select the baud rate using the up and down arrow keys.)

D / 9 / . 2 5 M 1 / /

Page 45: FLASH MICOM PROGRAMMER Instruction Manual

45

5.4.5 TVcc Threshold Setting (Function D3)

Sets the minimum operating voltage for the target system. This setting is required because this voltage setting will be used to detect the target system power OFF.

AF220 Operations

...TVcc Threshold Setting command ...Select the TVcc threshold value. ...Execute TVcc threshold setting.

Operation Example: Set the TVcc threshold value to "4.5V".

AF220 Operations AF220 Display

…TVcc Threshold Setting command

…Select "4.5". …Execute TVcc

threshold setting. * The TVcc detecting accuracy of the AF220 is the set value +- 0.1V.

FUNC D 3

▲ ▼

SET FUNC SET

FUNC D 3

▲ ▼

SET FUNC SET

D / 3 / 3 .0 / /

D / 3 / 4 .5 / /

(Select the TVcc threshold value using the up and down arrow keys.)

Page 46: FLASH MICOM PROGRAMMER Instruction Manual

46

5.4.6 MCU Mode Setting (Function D4)

Sets the MCU mode. Some types of MCUs do not support this command. For further information consult your control module manual.

AF220 Operations AF220 Display

...MCU Mode Setting command

...Select the mode. ...Execute MCU

mode setting. Note: Some MCUs have different displays.

FUNC D 4

▲ ▼

SET FUNC SET

D / 4 / D E H M O / /

D / 4 / D E L M O / /

(Select the MCU mode using the up and down arrow keys.)

Page 47: FLASH MICOM PROGRAMMER Instruction Manual

47

5.4.7 Watchdog Timer Setting (Function D5)

Sets the watchdog timer period.

AF220 Operations

...Watchdog Timer Setting command ...Set the period (unit: ms). ...Execute watchdog timer setting.

Operation Example: Set the watchdog timer period to 10 ms.

AF220 Operations AF220 Display

Watchdog Timer Setting command

Set the period. Execute watchdog

timer setting.

FUNC D 5

▲ ▼

SET FUNC SET

FUNC D 5

▲ ▼

SET FUNC SET

D / 5 / 1 0 / /

(Select the period using the up and down arrow keys.)

D / 5 / 2 / /0

Page 48: FLASH MICOM PROGRAMMER Instruction Manual

48

5.4.8 Flash Memory Area Display (Function D6)

Displays the flash memory area of the target MCU.

Display:

Fst: Shows the first address of the flash memory area.

Lst: Shows the last address of the flash memory area.

AF220 Operations AF220 Display

Flash Memory Area Display command

Execute. Select the display item. Display completed.

FUNC D 6

SET FUNC SET

▲ ▼

RESET

F / / t : 0 0 F s 0 0 0 0 0 0

(Displays the first address.)

F / / / /6

F / / t : 0 0 L s 0 0 7 F F F

(Displays the last address.)

Page 49: FLASH MICOM PROGRAMMER Instruction Manual

49

5.4.9 Communication Channel Setting (Function D7)

Selects the communication channel between the AF220 and the target system. This command is required if more than one channel exists between the AF220 and the target system and you must set the number of the communication channel to use it.

AF220 Operations AF220 Display

Communication Channel Setting command

Select the

communication channel. Execute the communication

channel setting.

FUNC D 7

SET FUNC SET

▲ ▼

F / 7 / / /

F / / 1 /

(Select the communication channel using the up and down arrow keys.)

0

Page 50: FLASH MICOM PROGRAMMER Instruction Manual

50

5.4.10 Displayed Model Name Change (Function D8)

Changes the model name shown in the AF220 display. Up to 7 characters can be entered for the model name.

Note:

On the AF220 only characters from "0" to "9" and from "A" to "F can be entered. By connecting with the PC and using the software which runs on the PC, you can enter any alpha-numeric characters.

AF220 Operations AF220 Display

Displayed Model Name Change command

Move the cursor with

the ▲ and ▼ keys. Execute displayed

model name change.

FUNC D 8

SET FUNC SET

Enter Model Name

F / 8 / 2 0 1 F M /

F / 8 / 6 9 1 /

(Pressing either the up or down key moves cursor.)

Page 51: FLASH MICOM PROGRAMMER Instruction Manual

51

5.4.11 Data Format Setting (Function 5)

Sets the data format and length per record which will be used for data transfer from the AF220 to the PC. The Intel HEX and Motorola S formats are supported.

Enter "50" for the Intel HEX format or "60" for the Motorola S format.

Note: AF220 display during setting operation.

-F...Format setting

-L...Data length per record setting AF220 Operations

...Data Format Setting command ...50: Intel HEX, 60: Motorola S ...Enter the data length per record. ...Execute data format setting. Operation Example:

Set the record length to 16-bit and the format to Motorola S format.

AF220 Operations AF220 Display

Data Format Setting command

Select the

Motolora S format. Enter the record length

in hexadecimal.

/ F F 0 0 1 / C O P Y

5 / / 5 0 / - F /

(Shadowed section shows the selected item.)

FUNC 5

SET FUNC SET

Enter format

Enter Data length

FUNC 5

SET FUNC SET

▲ 6 0

1 0

5 / / 5 / - F /

5 / / 6 0 / - F /

(Check that “-F” (first address) is displayed.)

0

5 / / 1 0 / - L /

(Check that “-L” (last address) is displayed.)

Page 52: FLASH MICOM PROGRAMMER Instruction Manual

52

5.4.12 RS-232C Setting (Function 7)

Sets the baud rate, data length, stop bit, and parity which will be used to communicate with a PC via RS-232C interface.

-b: Baud rate setting -P: Data length, stop bit, parity setting

• Baud rate setting (-b)

Specify this with a one digit code which corresponds to one of the following eight baud rates.

Baud rate [bps] 2400 4800 9600 19200 38400 57600 76800 115200

Code 1 2 3 4 5 6 7 8

Note: If a communication error occurs, select a lower baud rate.

• Data length, stop bit, parity settings (-P)

Specify these with a 2-digit code.

Code: X X DataBits 7 : 7 bits (D6~D0) 8 : 8 bits (D7~D0) LineBreakCheck 0 : disable 1 : enable StopBits 0 : Stop bits = 1 1 : Stop bits = 2 Parity 00 : No parity check 01 : Odd parity 10 : Even parity AF220 Operations AF220 Display

RS-232C Setting command

Set the baud rate. Set data length

and others. Execute RS-232C settings.

D3 D2 D1 D0

Enter data length and others.

FUNC 7

SET FUNC SET

▲ Enter baud rate code.

7 / / 8 / - b /

(Check that “-b” (baud rate) is displayed.)

7 / / 8 8 / - P /

(Check that “-P” (parity) is displayed.)

Page 53: FLASH MICOM PROGRAMMER Instruction Manual

53

5.4.13 MCU Operating Frequency Setting (Function DF)

Sets the MCU operating frequency.

AF220 Operations

...MCU Operating Frequency Setting command ...Select the frequency. ...Execute MCU operating frequency setting. Operation Example:

Set the MCU operating frequency to 10 MHz.

AF220 Operations AF220 Display

...MCU Operating Frequency Setting command

...Select "10.0". ...Execute MCU operating

frequency setting.

FUNC D F

▲ ▼

SET FUNC SET

FUNC D F

▲ ▼

SET FUNC SET

D / F / 7 .5 / /

D / F / 1 0 .0 / /

Page 54: FLASH MICOM PROGRAMMER Instruction Manual

54

5.4.14 Beep Setting (Function 91)

Turns the beep ON or OFF.

Executing this command once changes the setting in the order of "ON"→"OFF"→"Key entry sound only OFF".

Note: Some control modules can not turn OFF the key entry sound alone.

AF220 Operations

...Beep On/Off Setting command ...Execute the command. When "ON" before setting → Goes "OFF" When "OFF" before setting → Goes " Only key entry sound OFF" When "Only key entry sound Off" before setting → Goes "ON"

FUNC 9 1

SET FUNC SET

Page 55: FLASH MICOM PROGRAMMER Instruction Manual

55

5.4.15 Remote/Local Setting (Function 92)

Set to the "Remote" mode if you want to remotely control the AF220 from the PC. In the "Remote" mode, only the RESET key is enabled.

To cancel the Remote mode push the RESET key.

Note:

If you are using YDC Remote Control Software it will automatically set the mode. Therefore this operation is not required.

AF220 Operations

...Remote/Local Setting command ...Execute the command → Goes to the "Remote" mode.

FUNC 9 2

SET FUNC SET

Page 56: FLASH MICOM PROGRAMMER Instruction Manual

56

5.4.16 Version Display (Function 94)

Displays the versions of the AF220 and the control modules.

SOFT VER: Control module version

HARD VER: AF220 version

AF220 Operations AF220 Display

Version Display command

Execute the command. Change the display item. Display completed.

F / / / /

S O F T E R V 0 1 . 0 0

(Displays the version on the Control Module.)

6

H A R D E R V 0 1 . 0 1

(Displays the version on the AF220 hardware.)

FUNC 9 4

SET FUNC SET

▲ ▼

RESET

Page 57: FLASH MICOM PROGRAMMER Instruction Manual

57

5.4.17 Beep Tone Setting (Function 95)

Sets the beep tone. High, medium, or low tone can be selected.

Executing this command once changes the tone in the order of "High", "Medium", and "Low".

AF220 Operations

...Beep Tone Setting command ...Execute the command.

FUNC 9 5

SET FUNC SET

Page 58: FLASH MICOM PROGRAMMER Instruction Manual

58

5.4.18 Battery Remaining Display (Function 96)

Displays the battery remaining to preserve the control module memory. If BATTERY REPLACE is displayed replace the battery promptly.

BATTERY FULL: Good BATTERY REPLACE: Need to change the battery. BATTERY EMPTY: Remaining battery level is 0. (The memory contents have

been erased.) Caution:

Be careful as when the memory contents are erased the control program is also erased and the AF220 will not start up.

AF220 Operations AF220 Display

Battery Remaining Display command

Execute the command. Display completed. • How to Change the Battery

1. Insert the PC card (control module) in the AF220 and turn the power "ON".

2. After starting the AF220 replace the battery.

At this time leave the AF220 power "ON". Do not turn the AF220 power "OFF" while changing the battery. If the power is "OFF" the PC card data will be erased.

• Batteries for Memory Preservation

• Mitsubishi SRAM card (MF3xM1-L6DAT0x) → BR2325 (Panasonic)

• Maxell SRAM card (ML-xM-TB4Nxx.M-220) → CR2025(Maxell)

FUNC 9 6

SET FUNC SET

RESET

B A T T Y F U E R L L

9 / / / /6

Page 59: FLASH MICOM PROGRAMMER Instruction Manual

59

5.4.19 Read Mode Switchover (Function 99)

Toggles the read mode. The AF220 has two read modes.

FULL READ VERIFY: Compares the programmed data in the MCU with the buffer RAM data.

SUM READ VERIFY: Compares the checksum values received from the MCU with the checksum values of the buffer RAM.

Note:

Some control modules do not support mode switchovers.

AF220 Operations AF220 Display

...Read Mode Switchover command

...Select SUM or FULL. ...Execute Read Mode toggling.

FUNC 9 9

▲ ▼

SET FUNC SET

F U L L E A D R V E R I F Y

S U M E A D R V E R I F Y

Page 60: FLASH MICOM PROGRAMMER Instruction Manual

60

5.5 Ethernet Settings

5.5.1 Communication Channel Setting (Function E1)

Sets the communication channel between the AF220 and the PC. The channel can be "RS-232C" or "Ethernet". (This command is for the AF220 only.)

AF220 Operations

...Communication Channel Setting command ...Select the channel. ...Execute communication channel setting. Operation Example:

Change the communication channel from RS-232C to Ethernet.

AF220 Operations AF220 Display

Communication Channel Setting command

Select Ethernet.

Execute communication channel setting.

FUNC E 1

▲ ▼

SET FUNC SET

FUNC E 1

▲ ▼

SET FUNC SET

E / 1 / E T H E R N E T /

E / 1 / R S - 2 3 2 C /

Page 61: FLASH MICOM PROGRAMMER Instruction Manual

61

5.5.2 IP Address/Port Setting (Function E2)

Sets the IP address and port number for the AF220. (This command is for the AF220 only.)

AF220 Operations

...IP Address/Port Setting command ...Sets the IP address and port number. ...Execute IP address/port setting. Operation Example:

Set the IP address to "192.0.0.1" and port number to "1100".

AF220 Operations AF220 Display

IP Address/Port Setting command Set "192" (IP address).

Set "0" (IP address).

Set "0" (IP address).

Set "1" (IP address)

Set "1100" (port number).

Execute IP address/port setting.

FUNC E 2

▲ ▼

SET FUNC SET

SET FUNC SET

1 9 2

0 0 0

FUNC E 2

0 0 0

1 0 0

0 0 1 1 ▼

1 9 2 . 1 6 8 . 0 0

1 9 2 . 1 6 8 . 0 . 0

1 9 2 . 0 . 0 . 0

1 9 2 . 0 . 0 . 0

1 9 2 . 0 . 0 . 1

E / 2 / 0 x 1 1 0 0

Page 62: FLASH MICOM PROGRAMMER Instruction Manual

62

5.5.3 Gateway Address Setting (Function E3)

Sets the default AF220 gateway address. (This command is for the AF220 only.)

Set the gateway address if the AF220 is accessed from different networks or accessed from the same network using routers. If the AF220 and PC are used on the same network set the gateway address to "0.0.0.0".

AF220 Operations

...Gateway Address Setting command ...Set the gateway address. ...Execute gateway address setting. Operation Example:

Set the gateway address to "192.0.0.254".

AF220 Operations AF220 Display

Gateway Address Setting command

Set "192" (gateway address).

Set "0" (gateway address).

Set "0" (gateway address).

Set "254" (gateway address).

Execute gateway address setting.

FUNC E 3

▲ ▼

SET FUNC SET

SET FUNC SET

1 9 2

0 0 0

FUNC E 3

0 0 0

4 5 2

0 . 0 . 0 0

1 9 2 . 0 . 0 . 0

1 9 2 . 0 . 0 . 0

1 9 2 . 0 . 0 . 0

1 9 2 . 0 . 0 . 2 5 4

Page 63: FLASH MICOM PROGRAMMER Instruction Manual

63

5.6 List of Device Functions

Command Command contents Command key

Copy Reads data from the flash memory to the buffer RAM and performs read check.

"DEV", "8"

Blank Check Checks if the flash memory is erased before programming. "DEV", "9"

Erase Erases the flash memory and performs blank check. "DEV", "C"

Program Programs the flash memory and performs read check. "DEV", "D"

Read Check Compares the flash memory and the buffer RAM. "DEV", "E"

E.P.R. Executes the Erase, Blank Check, Program, and Read Check commands sequentially.

"DEV", "F"

* The functions of some MCUs do not support these commands. Consult your control module manual.

Caution:

The "HV" message appears in the upper left corner of the AF220 display while executing a device function. This shows that the programming voltage is being applied to the target system through the probe. To power off the user system or remove the probe, push the RESET key on the AF200 and then check that the "HV" message is no longer displayed.

Page 64: FLASH MICOM PROGRAMMER Instruction Manual

64

5.6.1 Copy

Copies the contents of the MCU flash memory to the AF220 buffer RAM. After copying this command compares the imported contents of the buffer RAM with the flash memory contents. If the contents are copied successfully and match "PASS" will be displayed. If not, the error addresses will be displayed. The execution range for the Copy command is within the range of the flash memory area (FUNC D6).

AF220 Operations AF220 Display

...Copy command ...Execute the command.

8 DEV

SET DEV SET

COPYING

READ CHE GNIKC

D/ /PASS 00/ /

Page 65: FLASH MICOM PROGRAMMER Instruction Manual

65

5.6.2 Blank Check

Checks that the flash memory area of the MCU has been erased. If the flash memory contents have been erased "PASS" will be displayed. If not, the address of the bits that have not been erased or the top address of the erased block including that address will be displayed. The execution range for the Blank Check command is within the device function execution range (FUNC 0).

AF220 Operations AF220 Display

...Blank Check command ...Execute the command.

9 DEV

SET DEV SET

BLANK CH GNIKCE

D/ /PASS / /

Page 66: FLASH MICOM PROGRAMMER Instruction Manual

66

5.6.3 Erase

Erases the contents of the flash memory of the internal MCU. After erasing this command performs a blank check and verifies erasure has been successful. If the erasure has been successful, then "PASS" will be displayed. If not, the error address will be displayed. The execution range for the Erase command is within the device function execution range (FUNC 0).

AF220 Operations AF220 Display

...Erase command ...Execute the command.

C DEV

SET DEV SET

ERASING

D/ /PASS / /

BLANK CH GNIKCE

Page 67: FLASH MICOM PROGRAMMER Instruction Manual

67

5.6.4 Program

Writes the AF220 buffer RAM contents in the MCU flash memory area. Then this command compares the flash memory contents with the buffer RAM contents. If the buffer RAM contents match the MCU flash memory contents "PASS" will be displayed. If not, the error address on the buffer RAM will be displayed. The execution range for the Program command is within the device function execution range (FUNC 0).

AF220 Operations AF220 Display

...Program command ...Execute the command.

D DEV

SET DEV SET

PROGRAMM GNI

D/ /PASS /00/

READ CHE GNIKC

Page 68: FLASH MICOM PROGRAMMER Instruction Manual

68

5.6.5 Read Check

Compares the MCU flash memory contents with the AF220 buffer RAM contents. If the data matches "PASS" will be displayed. If not, the error address or the top address of the erased block including that address will be displayed. The execution range for the Read Check command is within the device function execution range (FUNC 0).

There are two types of Read modes; "FULL READ VERIFY" and "SUM READ VERIFY". See Section 5-4-19, "Read Mode Switchover (Function 99)" for setting the mode.

Some MCUs do not support the flash memory area reading function. The AF220 uses the application read function from the user system to read the programs. Reading the ROM contents is the means by which copying and reading can be done for unsupported devices. For more information on the application read function consult Appendix 1 and Appendix II of your manual.

Note:

Some control modules do not support the Read Mode Switchover command (Function 99).

AF220 Operations AF220 Display

...Read Check command ...Execute the command.

E DEV

SET DEV SET D/ /PASS 00/ /

READ CHE GNIKC

Page 69: FLASH MICOM PROGRAMMER Instruction Manual

69

5.6.6 E.P.R.

Writes on the internal flash memory area of the MCU. This command executes the Erase, Blank Check, Program, and Read Check commands sequentially. If the E.P.R. command is completed successfully "PASS" will be displayed. If not, the error message will be displayed. The execution range for the E.P.R. command is within the device function execution range (FUNC 0).

Note:

Some control modules do not support these commands. For further information consult your control module manual.

AF220 Operations AF220 Display

...E.P.R. command ...Execute the command.

F DEV

SET DEV SET

D/ /PASS 00/00/

READ CHE GNIKC

ERASING

BLANK CH GNIKCE

PROGRAMM GNI

Page 70: FLASH MICOM PROGRAMMER Instruction Manual

70

6. One Action Key Function

6.1 Function Overview

Control modules that support one-action key functions can execute device functions with one touch key entries. The two keys in the figure below, OneActionKey1 and OneActionKey2, can be assigned for this function. The usual key operation

will not be necessary to execute the device functions and OneActionKey1 and OneActionKey2 can be used to execute these functions with one touch entries.

DEV * SET DEV SET

OneActionKey1

OneActionKey2

Page 71: FLASH MICOM PROGRAMMER Instruction Manual

71

6.2 One Action Key Setting

6.2.1 Command Sequence File (*.CSB)

The command sequence file (extension: CSB) is used for one-action key setting. Only one CSB file can exist on the DOS area of the control module.

6.2.2 Command Sequence File Format

The command sequence file is a text file and stores the information on which device functions (command sequence) are assigned to the OneActionKeys.

L K 1 , CNT1 CNT2 , C1 , C2 , ・・・ , C16 ; Comment

L K 2 , CNT1 CNT2 , C1 , C2 , ・・・ , C16 ; Comment

1 2 3 4 5 6

1. KeyNo code (3 bytes)

LK1: OneActionKey1/ LK2: OneActionKey2

2. ',' (1 byte)

Shows the command delimiter.

3. CNT1 and CNT2 (2 bytes)

Shows the number of device commands.

Decimal notation (after "09" is "10")

Maximum: "16"

For unused keys use "00".

4. Cn

Device commands ... See Table 1 on next page.

5. ';' (1 byte)

Shows the comment delimiter.

6. Comment (any number of bytes + CRLF)

Describes the comment.

Page 72: FLASH MICOM PROGRAMMER Instruction Manual

72

Table 1. Key definitions

Cn Description

F0(XXXXXXXX YYYYYYYY) Device function area setting

(XXXXXXXX: First address, YYYYYYYY: Last address) *1

F1(XXXXXXXX YYYYYYYY ZZ) Block store

(XXXXXXXX: First address, YYYYYYYY: Last address, ZZ: Data) *2

F2 Buffer memory clear

FF1(XXXXXXXX. XXX) File load

(XXXXXXXX. XXX: Load file name) *3

FF5(XXXXXXXX YYYYYYYY) Transfer address setting

(XXXXXXXX: First address, YYYYYYYY: Last address) *1

D9 Blank (Device function)

DC Erase (Device function)

DD Program (Device function)

DE Read (Device function)

DF E. P. R (Device function)

*1 These settings can be omitted. When omitted, the address becomes the entire flash ROM area.

*2 These settings can be omitted. When omitted, the address becomes the entire flash ROM area and the data becomes “00”.

*3 This setting cannot be omitted.

Page 73: FLASH MICOM PROGRAMMER Instruction Manual

73

6.3 Error Messages Error messages will be displayed for 3 seconds after a beep sounds. Messages, causes, and actions are as shown below:

1. CSB NOT FOUND

Cause: This error will occur if a command sequence file is not found in the DOS area, multiple command sequence files are found in the DOS area, or the command sequence file has the wrong format.

Action: Check that there is only one command sequence file in the DOS area and that it has the proper format.

2. LK1 ASSIGN ERR/ LK2 ASSIGN ERR

Cause: This error will occur if the settings information in the command sequence file has any inconsistencies (undefined device commands, unmatched number of device commands, or others).

Action: Correct the setting information in the command sequence file.

Page 74: FLASH MICOM PROGRAMMER Instruction Manual

74

7. Sumcheck Function

7.1 Sumcheck Overview

This function checks the checksum values and data at specified addresses for every device function execution. As this check is done for every device function execution it is possible to prevent incorrect object data from being written.

7.2 Sumcheck Function Settings

7.2.1 YSM Files (*.YSM)

The YSM file (extension: YSM) is used for the sumcheck function settings. Only one YSM file can be exist in the DOS area of the control module. If there is a YSM file in the DOS area of the control module when a device function is executed, then the sumcheck function will be executed. Before executing the device function the YSM file data is compared with the buffer RAM data. If it passes the check then the device function is executed. After reading and executing the device function a comparison is then carried out between the YSM file checksum value and the value at execution read time.

Page 75: FLASH MICOM PROGRAMMER Instruction Manual

75

7.2.2 YSM File Format

The YSM file is in the Motorola S format. Use the AZ281 (option) to create this file.

Line 1 SUM Data Set the checksum value for the object data. Address: 00000000, Size: 1, Type: HEX Data: Checksum value for the object data

Line 2 SUM Data Check Flag Set whether Line 1 will be checked or not. Address: 00000000, Size: 1, Type: HEX Data: Checked (1), Not checked (0)

Line 3 Data1 Set the data address and other information for the check. Address: Data top address Size: Data size Type: HEX or ASCII Data: Data

Line 4 Data1 Check Flag Set whether Line 3 will be checked or not. Address: 00000000, Size: 1, Type: HEX Data: Checked (1), Not checked (0)

These settings will generate the file below. (Motorola S format file) 1 S3060000000000F9 ← SUM Data 2 S3060000000001F8 ← SUM Data Check Flag 3 S30B00000100010203040506DE ← Data1 4 S3060000000001F8 ← Data1 Check Flag 5 S70500000000FA

From line 3, you can add as many data and check flag pairs as you want up to a maximum of 10 items.

Page 76: FLASH MICOM PROGRAMMER Instruction Manual

76

8. Specifications

8.1 Operating Conditions

Ambient temperature: 5 to 40 ℃

Humidity: 20 to 80% (no condensation)

Power: AF220 DC input Voltage: 6 to 16V

Current: 0.4A or less (average)

AC adapter input Voltage: 90 to 264 VAC

Current: 1 A rms (115 VAC)

0.5 A rms (230 VAC)

Physical dimensions: 210 (L) X 148 (W) X 44 (H)

Page 77: FLASH MICOM PROGRAMMER Instruction Manual

77

8.2 RS-232C Interface

8.2.1 Connector (RS-232C)

Connector pin arrangement (mate side view)

5 1

9 6

DELC-J9PAF-13L6 ( JAE )

Supported baud rates are as shown below.

2400 bps 4800 bps 9600 bps 19200 bps 38400 bps 57600 bps 76800 bps * 115200 bps *

* If a communication error occurs, select a lower baud rate.

Page 78: FLASH MICOM PROGRAMMER Instruction Manual

78

8.2.2 Interface Cable (AZ221)

Connector for DOS/V (9 pin female - 9 pin female)

3m

DEU-9SF-P0 ( JAE ) DEU-9SF-P0 ( JAE )

AZ221

AZ221 connection diagram

Signal Name

DTR

TXD

RXD

NC

NC

CTS

RTS

NC

SG

PinNo

987

6

5

4

3

2

1

AF220/210AZ221

Signal Name

DTR

TXD

RXD

DCD

RI

CTS

RTS

NC

SG

PinNo

9

8

7

6

5

4

3

2

1

PC

Page 79: FLASH MICOM PROGRAMMER Instruction Manual

79

8.2.3 Interface Cable (AZ222)

AZ222: Connector for PC98 (25 pin male - 9 pin female)

3m

DEU-9PF-P0 ( JAE ) DBU-25PF-P0 ( JAE )

AZ222

D9S-FF ( SANWA SUPLY )

AZ222 connection diagram

Signal Name

DTR

TXD

RXD

NC

NC

CTS

RTS

NC

SG

PinNo

987

6

5

4

3

2

1

AF220/210AZ222

Signal Name

RTS

RXD

TXD

FG

DTS

SG

DSR

CTS

PinNo

20

7

6

5

4

3

2

1

PC

Page 80: FLASH MICOM PROGRAMMER Instruction Manual

80

8.3 Ethernet Interface

8.3.1 Connector (Ethernet)

Connector pin arrangement (mate side view)

18

TM11R-5L-88( HRS )

8.3.2 Signal Table

TXD+

N.C

N.C.

RXD-

N.C.

N.C.

RXD+

TXD-

Signal NamePin No

1

6

4

3

7

2

5

8

Page 81: FLASH MICOM PROGRAMMER Instruction Manual

81

8.4 PC Card Interface

8.4.1 Connector (Control Module)

Connector pin arrangement (mate side view)

IC7-68PD-1.27DS-EJR ( HRS )341

35 68

8.4.2 Signal Table

PinNo1

6

4

3

7

2

5

17

16

15

14

13

12

11

10

9

8

GND

Vcc

N.C.

/WE

A14

A13

A8

A9

A11

/OE

A10

/CE1

D7

D6

D5

D4

D3

Signal Name PinNo35

40

38

37

41

36

39

51

50

49

48

47

46

45

44

43

42

GND

Vcc

A21

A20

A19

A18

A17

N.C.

N.C.

N.C.

/CE2

N.C.

N.C.

N.C.

N.C.

N.C.

/CD1

Signal NamePinNo18

23

21

20

24

19

22

34

33

32

31

30

29

28

27

26

25

N.C.

GND

WP

D2

D1

D0

A0

A1

A2

A3

A4

A5

A6

A7

A12

A15

A16

Signal Name PinNo52

57

55

54

58

53

56

68

67

66

65

64

63

62

61

60

59

N.C.

GND

/CD2

N.C.

N.C.

N.C.

BVD1

BVD2

/REG

N.C.

N.C.

N.C.

N.C.

A25

A24

A23

A22

Signal Name

Page 82: FLASH MICOM PROGRAMMER Instruction Manual

82

8.5 External Key Entry Interface

8.5.1 Connector (EXT.KEY)

Connector pin arrangement (mate side view)

5 1

10 6

TX20A-10R-D2LT1-A1LH (JAE)

8.5.2 Signal Table

Pin Signal Name Definition

1 RST+ RESET + Pin

2 OAK1+ ONE ACTION KEY 1 + Pin (LINE KEY 1)

3 OAK2+ ONE ACITON KEY 2 + Pin (LINE KEY 2)

4 Reserved

5 Reserved

6 RST- RESET + Pin

7 OAK1- ONE ACTION KEY 1 – Pin (LINE KEY 1)

8 OAK2- ONE ACTION KEY 2 – Pin (LINE KEY 2)

9 Reserved

10 Reserved

* The OneActionKey1 is the top right blank key and the OneActionKey2 is the bottom right blank key.

* By shorting the positive terminal and negative terminal of each signal the applicable key on the AF220 keyboard will go in a pressed state.

Page 83: FLASH MICOM PROGRAMMER Instruction Manual

83

8.5.3 Timing Specifications

Minumum Maximum

TPWL 30ms 200ms

TINT 30ms ∞

8.5.4 EXT.KEY Interface Cable (AZ223)

AZ223

1m

Plug : TX20A-10PH1-D2P1-D1( JAE )

Cable:UL27276-SB(MA)10P×28AWG(7/0.127)( HITACHI CABLE )

Wiring Diagram

TPWL TINT

TPWL

Key entering 1

Key entering 2

1 6

2 7

3 8

RST+ RST-

OAK1+

OAK2+

OAK1-

OAK2-

4 9

Reserved Reserved

5 10

Reserved Reserved

TX20A-10PH1-D2P1-D1

Orange ■ Orange □

Grey ■ Grey □

White ■ White □

Yellow ■ Yellow □

Pink ■ Pink □

■ : Dot mark black

□ : Dot mark red

Page 84: FLASH MICOM PROGRAMMER Instruction Manual

84

8.6 Target Interface

8.6.1 Connector (TARGET PROBE)

Connector pin arrangement (mate side view)

14 1

28 15DX10-28S ( HRS )

• Vpp output are as shown below:

Voltage (±5%) Current (max value)

0 - 3.0 (V) 10 (mA)

3.0 - 12.5 (V) 200 (mA)

• TVcc input is 2.7 - 5.25 (V).

Page 85: FLASH MICOM PROGRAMMER Instruction Manual

85

8.6.2 Interface Cable (AZ210)

This is used for the DX10-28S (HRS) or equivalent connector mounted on the target board.

Standard Probe A: AZ210

1m

DX-28-CV(Connector Cover w/ One-Touch Lock)

1 14

15 28DX31A-28P

The pin layouts are viewedfrom the cable side.

*ConnectorsManufacturer: Hirose Electoronics

1 14

15 28DX31A-28P

AF200-side(Target-side)

Target-side(AF200-side)

AZ210 Wiring Table

AZ210 : AF200-side(Target-side)Standard Signal Pin Assign

Pin No.AF200

Standard Signal Name123456789

1011121314151617181920

TRXD

TTXD

TI0

TMODE

TI1

TAUX5 (/TOE)

TBUSY

/TICS

TAUX

TAUX2 (TR/W)

TAUX4 (TVpp2C)

TCK

TAUX3 (TVpp1C)

/TRES

WDT

TRES

TVpp2

Vcc

TVpp1

TVcc

2122232425262728

GND

GNDGND

GNDGND

GNDGND

GND

AZ210 : Target-side(AF200-side)Standard Signal Pin Assign

Pin No.AF200

Standard Signal Name1234567891011121314151617181920

TRXD

TTXD

TI0

TMODE

TI1

TAUX5 (/TOE)

TBUSY

/TICS

TAUX

TAUX2 (TR/W)

TAUX4 (TVpp2C)

TCK

TAUX3 (TVpp1C)

/TRES

WDT

TRES

TVpp2

Vcc

TVpp1

TVcc

2122232425262728

GND

GNDGND

GNDGND

GNDGND

GND

Full 28 pin-to-pin wired.

Page 86: FLASH MICOM PROGRAMMER Instruction Manual

86

8.6.3 Interface Cable (AZ211)

If the connector can not be mounted on the target board then use this cable to connect test clips to test pins or others.

Standard Probe B: AZ211

Signal x 20GND x 1

1m

The pin layouts are viewedfrom the cable side.

0.25m

Test Clips:

Enlarged View

1 14

15 28DX31A-28P

AF200-side

Target-side

(Hirose Electronics)

2

1 19

20

PS-20PE-D4LT1-B1(JAE)

AZ211 Wiring Table

GND (Black) : Directry Soldered to PWB.

AZ211(AZ213) : Target-side Test Clips Signal Assign

Pin No. Lead Color AF200Signal Name

123456789

1011121314151617181920

Brown

Light-Blue

RedOrangeYellowGreenBlueVioletGrey

WhiteWhite & BlackWhite & BrownWhite & Red

White & OrangeWhite & YellowWhite & GreenWhite & BlueWhite & VioletWhite & Grey

Yellow & Green

TRXDTTXD

TI0TMODETVccs (TI1)

TAUX5 (/TOE)TBUSY/TICSTAUXTAUX2 (TR/W)TAUX4 (TVpp2C)TCKTAUX3 (TVpp1C)/TRESWDTTRESTVpp2VccTVpp1TVccd

I/O

IOIOIOIOOOOOOOOOOOOI

AZ211(AZ213) : AF200-side Standard Signal Pin Assign

Pin No.AF200

Standard Signal Name123456789

1011121314151617181920

TRXD

TTXD

TI0

TMODE

TVccs (TI1)

TAUX5 (/TOE)

TBUSY

/TICS

TAUX

TAUX2 (TR/W)

TAUX4 (TVpp2C)

TCK

TAUX3 (TVpp1C)

/TRES

WDT

TRES

TVpp2

Vcc

TVpp1

TVccd

2122232425262728

GND

ReservedGND

GNDGND

GNDReserved

GND

※ The lead color of pin No.19 has been changed from “Light-Green” to “Yellow & Green” to distinguish it from “Green”. The pin No.19 which you have may be “Light-Green”.

Page 87: FLASH MICOM PROGRAMMER Instruction Manual

87

8.6.4 Interface Cable (AZ212)

You can customize the connector and wiring.

Standard Probe C: AZ212

1m

DX-28-CV(Connector Cover w/ One-Touch Lock)

1 14

15 28DX31A-28P

The pin layouts are viewedfrom the cable side.

*Connectors (DX31A-28P, DX-28-CV)Manufacturer: Hirose Electoronics

AF200-side

Target-side

AZ211 Wiring Table

AZ212 : AF200-sideStandard Signal Pin Assign

Pin No.AF200

Standard Signal Name1234567891011121314151617181920

TRXD

TTXD

TI0

TMODE

TI1

TAUX5 (/TOE)

TBUSY

/TICS

TAUX

TAUX2 (TR/W)

TAUX4 (TVpp2C)

TCK

TAUX3 (TVpp1C)

/TRES

WDT

TRES

TVpp2

Vcc

TVpp1

TVcc

2122232425262728

GND

GNDGND

GNDGND

GNDGND

GND

Pin No.AF200

Standard Signal Name1234567891011121314151617181920

TRXD

TTXD

TI0

TMODE

TI1

TAUX5 (/TOE)

TBUSY

/TICS

TAUX

TAUX2 (TR/W)

TAUX4 (TVpp2C)

TCK

TAUX3 (TVpp1C)

/TRES

WDT

TRES

TVpp2

Vcc

TVpp1

TVcc

2122232425262728

GND

GNDGND

GNDGND

GNDGND

GND

InsulatorColorOrange

GreyWhiteYellowPink

OrangeGreyWhiteYellowPink

OrangeGreyWhiteYellowOrange

GreyWhiteYellowPink

OrangeGreyWhiteYellowPink

OrangeGreyWhitePink

Dot Mark

BlackBlackBlackBlackBlackBlackBlackBlackBlackBlackBlackBlackBlack

■■

■■

■■

■■

■■

■■■

■■■

■■■

■■■

BlackRedRedRedRedRedRedRedRedRedRedRedRedRedRed

■■

■■

■■

■■

■■

■■■

■■■

■■■

■■■

AZ212 : Target-sideWiring Specification

Page 88: FLASH MICOM PROGRAMMER Instruction Manual

88

9. Maintenance Service

9.1 Maintenance Service Contract Recommendation

YDC offers preventive and quick repair services which allow our customers to always use their AF220s in excellent running condition and to produce great results.

Our maintenance service period is set to support you for the lifetime of your specified machine. The lifetime maintenance service system is available by contract when you buy your AF220.

Our maintenance service include:

1. Taking care of repairs when failures occur

2. System software revision service

3. Loaning backup AF220s during the repair period

In addition YDC also offers our Engineering Service (ES) as an optional service contract. With this service contract and with our customer's cooperation we will propose a solution to the customer by determining and analyzing the problems when the customer connects the AF220 to the user system.

Through these services we believe that our customers can use the AF220 effectively for various purposes with a high up rate and increase their productivity. Please see our "Maintenance Service Information" and make good use of it.

YDC offers product maintenance and repair parts for a period which lasts five years after YDC stops production for that product.

Page 89: FLASH MICOM PROGRAMMER Instruction Manual

89

9.2 Maintenance Service YDC offers both maintenance service and optional ES service. Our maintenance service menu and, for your reference, our on-call service menu which is available after your contract expires, are displayed below.

Work contents Lifetime maintenance contract On call service

Taking care of repairs

◯ Parts included in the lifetime maintenance contract are free of charge for repairs.*1

◯ Fee based repairs (rates for your reference)

70k yen

Loaning a backup AF220 during repairs

◯ Loaning a backup AF220 during repairs is free of charge.

◯ Fee based loan AF220 (rates for your reference)

40k yen

Software revision up ◯ Offering revision up information

To meet your needs, YDC will ship the latest software without any charge.

△ Revision up is fee based.

Engineering Support optional service *2 (ES optional service)

◯ Optional contract

This service provides technical supports for problems when the writer and target system are connected as shown on the separate ES Optional Service list.

×

Note *1 Cable, probe, and battery replacements are not included. In addition repairs that are the

responsibility of the customer will require additional payment.

*2 In addition to the standard service, the Engineering Support service contract is required. Standard service

Option

Page 90: FLASH MICOM PROGRAMMER Instruction Manual

90

9.3 ES Optional Service

9.3.1 Purpose

The smooth connection of the target system and the writer.

9.3.2 Service Contents

• YDC offers the examination of problems when your target system and writer are connected and then presents measures to solve those problems.

• ES optional service is available from AM 9:00 to PM 5:00.

<On Carrying Out ES Optional Service>

• You shall provide the equipment we need for our maintenance service. In addition, you shall provide effective information on your target system when we need the information during our investigation.

• After investigation, YDC can provide additional hardware and/or software which is needed to fix the problem. This service is not covered by this service contact regardless of the cause of the problem. There are extra charges for these services.

• YDC provides a special order model name for the above added hardware and software and manages it.

• For services outside of the above time YDC also charges an extra fee.

• If our service engineer travels to provide services, our hourly rates during normal hours are within the range in the contract, but YDC does charge for travel expenses such as transportation and lodging. YDC also charges extra for services outside of our normal 9:00 AM to 5:00 PM hours.

9.3.3 Others

• ES optional service supplements the maintenance support for the control modules (Fx-xxx).

• In order to obtain ES optional service you must have the ES optional service contract for the attached control module and the lifetime maintenance service for the control module and the AF220.

Page 91: FLASH MICOM PROGRAMMER Instruction Manual

91

9.4 Lifetime Maintenance Service The first six months after you purchase your AF220 is our period of free maintenance service. During this period you can obtain our standard service free of charge.

<Maintenance Service Conditions>

Our lifetime maintenance service is a maintenance support option for the flash writer (AF220) and control module. After six months of the period of use (lifetime) of your flash writer a new maintenance contract agreement is necessary if you would like a maintenance agreement. The contents of this agreement may vary depending on the lifetime of your AF220. YDC is currently conducting a six month extension campaign, so if you enter into a lifetime maintenance contract when you purchase your flash writer, then YDC will extend the above free maintenance contract period to one year.

Please complete the information on the maintenance contract application form on the next page and sign up at our Instruments Business Division. Furthermore, concerning the maintenance service rates please see the list price which is on a separate sheet. If anything is not clear please contact our Instruments Business Division sales department or a distributor.

Send your registration and lifetime maintenance contract to:

Instruments Business Division Support Center Yokogawa Digital Computer (K.K.) TEL: 042-333-6245 FAX: 042-352-6107

Page 92: FLASH MICOM PROGRAMMER Instruction Manual

92

Yokogawa Digital Computer (K.K.)

User registration and Lifetime Maintenance Contract Application Form

The flash writer lifetime maintenance contract can be concluded by applying as shown below.

<<How to contact you>>

Company name (Office name)

Section: TEL:

Name: FAX:

<<System configuration>>

(A) Flash writer AF220

• AF220 serial number: (Write the serial number which is on the nameplate seal on the back of the AF220)

(B) Control module

• Control module model name:

• Control module serial number: (Write the serial number which is on the nameplate seal on the front of the control module PC card)

<<Contract service type and period>>

Check the box and fill in the contents for the service contract

□ 1. Standard service

□2. ES option (to be contracted for during the control module standard service contract period)

*1 YDC is currently conducting a six month extension campaign for customers who enter into

maintenance contracts at the time of purchase. YDC will extend the above free maintenance contract period to one year.

*2 YDC believes that our one year service period after purchase is appropriate for almost all of our customers.

Contract coverage Purchase date

Maintenance contract starting date

Contract period Contract completion scheduled date

(A) AF220

(B) Control module

Contract contents Maintenance contract starting date

Contract period Contract completion scheduled date

(C) ES optional service

One year 2

Page 93: FLASH MICOM PROGRAMMER Instruction Manual

93

9.5 Maintenance Contracts for Rental Machines The company which handles rental machines offers the following two types:

(1) Flash Writer Covered by Maintenance Service

This is the product that YDC has entered into a standard service contract with the rental company for. Customers using our flash writer covered by the maintenance contract can automatically use the standard services shown in our list of maintenance services. In addition customers using our flash writer maintenance contract can use ES optional services that they would like. (There are additional fees.) ES optional service is conducted by contracts between customers and our company. Enter the information in the attached lifetime maintenance contract application form and fax it to us.

YDC also offers an ES Optional Service for shorter periods for customers who will be using our AF220 for a shorter period of time.

(2) Flash Writer not Covered by Maintenance Contract

The rental company is in charge of Flash Writer maintenance service. When YDC provides maintenance services, YDC will ask you for reimbursement for our on-call service fees. After confirming whether or not the maintenance contract applies to rental products, please contact the department in charge of the maintenance. In addition to the flash writer rental product, the dummy target (DUB) for the self-test function is added to the product for your use. If there are any problems with your AF220 after carrying out self-diagnostics with the dummy target, please contact our support center.

Page 94: FLASH MICOM PROGRAMMER Instruction Manual

94

9.6 Maintenance Service System The AF220 support center below is in charge of the flash writer maintenance service.

1. Support Center

Contact the support center below with any maintenance service inquiries you have.

Instruments Business Division Support Center Yokogawa Digital Computer (K.K.)

Tel: 042-333-6245 Fax: 042-352-6107

For technical inquiries please send them by fax.

2. Maintenance Service Hours

A.M. 9:00 to P.M. 5:00 (Monday to Friday)

Page 95: FLASH MICOM PROGRAMMER Instruction Manual

95

Fax to 042-352-6107 Instruments Business Division Support Center Yokogawa Digital Computer (K.K.)

Q&A FAX SHEET

If there are any abnormalities generated while using the product please consult your user manual first. (Be especially sure to conduct the DUB programming test.) If the situation does not return to normal, then fill out the Q&A Fax Sheet items below and send the Fax Sheet to the Support Center. (Please fill out each item and keep a copy for your own use.)

<<How to contact you>>

Company name (Office name)

Section: TEL:

Name: FAX:

<<System configuration>>

(A) Flash writer AF220

• AF220 serial number: (Write the serial number which is on the nameplate seal on the back of the AF220)

(B) Control module

• Control module model name:

• Control module serial number: (Write the serial number which is on the nameplate seal on the front of the control module PC card)

<<Problem contents and those conditions>>

Failures or Status (The frequency of the problems, operation procedures, and other things at that time)

Instruments Business Division Support Center (A.M.9:00 to P.M.5:00)

TEL: 042-333-6245 FAX: 042-352-6107

Page 96: FLASH MICOM PROGRAMMER Instruction Manual

96

Appendix List of Error Codes

Error code Content State/Action

01:WORK RAM ERR Working RAM failure Defective AF220

02:BUFFER RAM ERR Buffer RAM failure Defective control module

03:PROGRAM ROM ERR Program ROM failure Defective AF220

04:PC CARD ERR PC card program failure Defective control module

14:DEVICE ERR XX Target device error User target MCU abnormality. Correct wiring. *1

15:TVCC TOO LOW User target voltage low Correct connection or target power.

16:VPP1 TOO LOW Vpp1 voltage low User target has a short circuit. Correct wiring.

17:VPP2 TOO LOW Vpp2 voltage low User target has a short circuit. Correct wiring.

18:DEVICE ILLEGAL REPLY XX Illegal response from MCU Correct connection or

communication setting *1

19:DEVICE CRC ERR Device communication error Correct communication settings.

1A:DEVICE OVERRUN XX Data has been overwritten before retrieving

Correct the communication settings. *1

1B:DEVICE FRAMING ERR XX Baud rate mismatch Correct the communication

settings. *1

1C:DEVICE SEND TIMEOUT XX

AF220 does not transmit in the specified time.

Correct the connection or the communication settings. *1

1D:DEVICE RECV TIMEOUT XX

No response from the target MCU in the specified time

Correct the connection or the communication settings. *1

1E:DEVICE NO STR Could not receive the STR code during Application Read

1F:DEVICE NO KEY Keyword mismatch during Application Read

20:COM I/O ERR Serial I/O line error Correct host communication settings.

21:COM IN ERR Serial IN parity error Correct host communication settings.

22:COM OUT ERR Serial OUT timeout Correct host communication settings.

33:DATA FORMAT ERR Invalid receive data Correct host communication settings.

34:DATA ADDRESS ERR Data being expanded outside the range of Func D6 address Correct user object.

35:FILE CRC ERR Intel Hex or Motorola S file checksum value differs from the loaded data checksum value

Correct user object.

36:HEX ADDRESS OVERFLOW

The Intel Hex format file is over the 20 bit address range. Correct user object.

37:S5 RECORD CHECK ERR Motorola S file S5 record value differs from the loaded data checksum value.

Correct user object.

Page 97: FLASH MICOM PROGRAMMER Instruction Manual

97

40:INVALID PC CARD PC card has invalid format. Defective control module.

42:PC CARD WRITE PROTECTED PC card is write protected. Remove the PC card write protect.

43:BATTERY EMPTY PC card battery is empty. Internal PC card data will be erased.

44:PC CARD PARAMETER ERR XXXX PC card parameter values are invalid. Download proper parameters. *2

45:BATTERY REPLACE Very little PC card battery remains. Change PC card battery. *3

50:PC CARD DISK FULL No space is left on the PC card.

60:FILE FORMAT ERR AF200 has loaded the file with the wrong extension. Put in the proper extension.

62:MODIFY FILE FULL The number suffixed to file extension may be over 1000.

Modify files can create up to 1000 files.

64:RAM000 NUM MAX The number suffixed to filename may be over 1000.

RAM xxx files can be up to a maximum of 1000 files

65:YSM FILE NOT FOUND No YSM file on the PC card Copy the YSM file on the PC card.

66:YSM FILE FORMAT ERR Illegal YSM file format Check file contents and describe them in the correct format.

67:YSM CHECK ERR YSM/XX RAM/YY

YSM file checksum value differs from the checksum value of the data on the buffer RAM.

*4

67:YSM CHECK ERR ADDRESS:ZZZZZZZ

Data on YSM file at the corresponding address differs from the data on the buffer RAM.

*4

68:UNSPORTED FILE FORMAT

AF200 is trying to load a file without a BIN, HEX, or S extension.

AF200 can only load files with a BIN, HEX, or S extension.

80:NO LICENCE No control module license Control modules without licenses can not be loaded

E0:ETHERNET ERR XYZ Ethernet connection abnormality See detail code below. *5

E2:NO BTP FILE No BTP file on the PC card Copy a BTP file on the PC card.

E3:FILE NOT FOUND There is no file. Choose an existing file.

*1 XX 01 : ERASE ERROR 02 : BLANK ERROR 03 : PROGRAM ERROR 04 : READ ERROR 05 : COPY ERROR 0F : OTHERS *2 XXXX: Parameter address error *3 Consult AF220 manual "Battery Remaining Display" to change battery.

Page 98: FLASH MICOM PROGRAMMER Instruction Manual

98

*4 XX: YSM file checksum value YY: Buffer RAM (Func 0 range) checksum value ZZ:YSM file and the buffer RAM address do not match. *5 X: Y: Z: 0: Initializing 0: Subsystem reset error 0: Timeout 1: Opening 1: Subsystem configuration error 1: Request error 1 2: Closing 2: Opening error 2: Request error 2 3: Sending 3: IP address setting error 3: Response error 1 4: Receiving 4: Gateway address setting error 4: Response error 2 5: Connecting 5: IP address port address setting error 5: CCB error 6: Connect request (Listen) error 6: DB error 7: Connect permission (Accept) error 7: Line error 8: Closing error (Shut) 9: Closing error (Close) A: Sending error (Send) B: Receiving error (Recv) C: Status error