background image

Fujitsu Microelectronics Europe 

Application Note 

 

MCU-AN-390087-E-V10 

F²MC-16LX FAMILY 

16-BIT MICROCONTROLLER 

ALL SERIES 

 

FLASH PROGRAMMER 

YOKOGAWA AF220/221 

 

APPLICATION NOTE 

Summary of Contents for YOKOGAWA AF220

Page 1: ...Fujitsu Microelectronics Europe Application Note MCU AN 390087 E V10 F MC 16LX FAMILY 16 BIT MICROCONTROLLER ALL SERIES FLASH PROGRAMMER YOKOGAWA AF220 221 APPLICATION NOTE ...

Page 2: ...ASH PROGRAMMER YOKOGAWA AF220 221 Revision History MCU AN 390087 E V10 2 Fujitsu Microelectronics Europe GmbH 1 Revision History Date Issue 23 04 2003 V1 0 HW First Release This document contains 24 pages ...

Page 3: ...eceipt by the customer 2 Should a Product turn out to be defect Fujitsu Microelectronics Europe GmbH s entire liability and the customer s exclusive remedy shall be at Fujitsu Microelectronics Europe GmbH s sole discretion either return of the purchase price and the license fee or replacement of the Product or parts thereof if the Product is returned to Fujitsu Microelectronics Europe GmbH in orig...

Page 4: ...ET UP 12 5 1 Hardware Configuration 12 5 1 1 Changing the MCU series 12 5 1 2 Connection to the Target Board 13 6 STAND ALONE OPERATION 14 7 SOFTWARE REMOTE CONTROLLER AZ290 15 7 1 Parameter Load 15 7 2 File transfer to PC card 15 7 3 Basic Operation 16 7 3 1 File Operation 16 7 3 2 Device Function 17 8 SOFTWARE REMOTE CONTROLLER LIBRARY AZ291 18 9 EXTERNAL KEY ENTRY INTERFACE AZ233 19 10 PASS ERR...

Page 5: ...FLASH PROGRAMMER YOKOGAWA AF220 221 Contents Fujitsu Microelectronics Europe GmbH 5 MCU AN 390087 E V10 13 APPENDIX 23 13 1 Time Measurement 23 14 REMARKS 24 ...

Page 6: ...201 module near all Fujitsu microcontrollers of the 16LX series can be programmed The FF205 module supports the MB91F150 family 32 Bit the FF206 module has to be used together with MB91F360 family 32 Bit It can be used as stand alone system as well as a PC controlled programmer using the RS 232C or the Ethernet interface The optional software package AZ290 allows to program remotely control applic...

Page 7: ... to be ordered separately Flash Programmer AF220 221 Control Module FF201 for Fujitsu 16LX series Interface cable AZ210 or AZ211 or AZ212 see chapter Target Probe below Figure 1 2 Stand alone Programmer In case that the programmer wants to be controlled by a PC then additionally the Remote Controller Software Package AZ290 can be download from homepage and RS 232C cable AZ221 AZ222 or twisted Pair...

Page 8: ...interface cables are available 4 3 1 AZ221 If the COM port of the host PC uses a 9 pin D Sub connector then interface cable AZ221 has to be used Figure 1 5 Serial interface cable AZ221 4 3 2 AZ222 In case that the COM port of the host PC uses a 25 pin D Sub connector the interface cable AZ222 has to be used Figure 1 6 Serial interface cable AZ222 ...

Page 9: ...20 Signal Name AZ210 AZ212 Pin No Pin No color Fujitsu Name TRXD 27 1 brown SOTx 1 TTXD 13 2 red SINx 1 TCK 6 12 white red SCKx 1 TAUX 23 9 white P00 2 P01 2 TMODE 12 4 yellow MD0 TAUX4 20 11 white brown MD1 TAUX3 19 13 white orange MD2 TRES 5 14 white yellow RST TICS 10 8 grey optional 3 TVCC 2 20 light blue Vcc VCC 3 18 white grey Vcc GND 1 7 8 14 15 21 22 28 soldered on PCB black GND Table 1 1 ...

Page 10: ...e AZ223 Optional two buttons can be connected externally to EXT KEY in order to start a command sequence see chapter 9 Figure 1 12 Pin Layout of Connector EXT KEY Figure 1 13 Connection of external key OAK1 Figure 1 14 Connection of external key OAK2 Figure 1 15 Connection of external reset key Pin 2 Pin 7 OAK1 Reset Pin 1 Pin 6 OAK2 Pin 3 Pin 8 ...

Page 11: ...o drive lamps or buzzer in e g a manufacture line Figure 1 16 Pass Error Adapter AZ266 Pin Signal Name Explanation 1 RES 2 RES Reset Key 5 OAK1 6 OAK1 One Action Key 1 9 OAK2 10 OAK2 One Action Key 2 13 VCC 14 VCC 5V max 100mA 15 User clear User clear input low active 17 PASS Pass signal low active open collector VOH 20V IOL 40mA 18 ERROR Error signal low active open collector VOH 20V IOL 40mA 19 ...

Page 12: ...ys related to a special microcontroller series 1 Download latest Micom Pack regarding to your microcontroller series 2 Remove PC card from Yokogawa Programmer 3 Insert PC card to Personal Computer with an enabled PC card slot Note In order to enable access to the PC card the PC card driver of Windows have to be installed on your PC Add the following lines to the config sys in order to find the PC ...

Page 13: ...troller Please refer to the Flash Programmer manual or the hardware manual of the related microcontroller chapter Examples of serial programming connection in order to get more detailed information Figure 2 17 Example of connecting with Fujitsu target system Note For minimum configuration at least the signals GND GND TRXD SOTx TTXD SINx TCK SCKx TRES RST and TVCC VCC have to be connected The other...

Page 14: ... basic functions are listed below Note that an explicit connect command does not exist Function Key code Load HEX file FUNC F 1 SET FUNC SET Blank Check DEV 9 SET DEV SET Erase including blank check DEV C SET DEV SET Program DEV D SET DEV SET Read Check Verify DEV E SET DEV SET Automatic Erase Program Verify DEV F SET DEV SET Save HEX file FUNC F 2 SET FUNC SET Purge file FUNC F 3 SET FUNC SET SET...

Page 15: ...et up the IP address Start the Remote Software AZ290 The software should automatically find the programmer 7 1 Parameter Load The parameter file contents the microcontroller related information like e g Flash Memory size In order to load a new microcontroller series open the tab File Transfer and select Parameter Load from HD After the file is successfully loaded the MCU type is shown on the progr...

Page 16: ...the Group File Operation basic functions for handling the data files on the PC card can be found FILE LOAD copies data from PC card into the buffer FILE SAVE stores data from the buffer to the PC card FILE PURGE deletes a specific file Figure 4 18 File operation on PC card Please take care that the file handling is a little bit windows unusual Whether files can be marked in the file list this will...

Page 17: ... flash memory and performs blank check BLANK checks whether the memory is cleared PROGRAM programs the flash memory with the data of the buffer after programming a verify read is done READ means Read check and verifies the flash memory with the buffer COPY readouts the flash memory into the buffer E P R performs automatically ERASE PROGRAM READ verify Figure 4 19 Basic programmer operations ERASE ...

Page 18: ...ilable to program own front end applications The library functions are based on Visual Basic 5 0 Overview of Library Functions included in AZ291 BUFFER_CLEAR BLOCK_STORE CHECK_YSM REQUEST_SUM FILE_LOAD FILE_PURGE FILE_ALL_PURGE DOSFILE_DOWNLOAD DOSFILE_UPLOAD FILE_DOWNLOAD FILE_UPLOAD PARAMETER_DOWNLOAD PARAMETER _UPLOAD DEVICE_ERASE PROGRAM EPR READ COPY BLANK SET_RS232C_PARAMETER COM_CHECK DISPL...

Page 19: ...equence file CSB is used to define the function In case that the signal lines OAK1 and OAK1 respectively OAK2 and OAK2 are shortcut the command sequence LK1 respectively LK2 stored in the CSB file is started Alternatively two buttons of the keypad can be used see This text file consists of two lines It can be easily edited e g my csb LK1 04 E B P R remark Erase BlankCheck Program Verify CRLF LK2 0...

Page 20: ...he result of programming By this adapter communication with a SPS interface is possible Figure 7 21 Pass Error adapter AZ266 Function PASS ERROR ERASE Chip was erased successfully Chip erase failed BLANK CHECK Chip is empty Chip is not empty PROGRAM Program ended successfully Programming failed READ Verify okay Verify failed E P R Automatic programming ended successfully Automatic programming fail...

Page 21: ...F154 91F155 FF206 Control Module for Fujitsu microcontroller 91F362GA asynchronous mode AZ221 PC cable D SUB 9pin D SUB 9pin AZ222 PC cable D SUB 9pin D SUB 25pin AZ210 Probe cable with 2x Hirose connector AZ211 Probe cable with Test clips AZ212 Probe cable with open end AZ223 EXT KEY interface cable AZ266 PASS ERROR Adapter AZ290 Remote Control Software can be downloaded from YDC homepage AZ291 R...

Page 22: ...H Mr Gerhard Neumann Eichenstrasse 11 86567 Hilgertshausen Germany Phone 49 0 8250 999515 Fax 49 0 8250 999520 Email gn ak elektronik de http www ak elektronik de 12 3 Ashling Microsystems LTD Mr Ian Harry Intec2 Wade Road Basingstoke Hants RG24 8NE United Kingdom Phone 44 0 1256 811998 Fax 44 0 1256 811761 E mail ian harry ashling com http www ashling com 12 4 Yokogawa Digital Computer Corporatio...

Page 23: ... CSB file ERASE incl BlankCheck 11 sec DEV C SET DEV SET PROGRAM 128K 1 5 sec called by One Action key CSB file PROGRAM 384K 14 sec called by One Action key CSB file PROGRAM 128K incl Read Check 7 sec DEV D SET DEV SET PROGRAM 384K incl Read Check 18 sec DEV D SET DEV SET Note 1 In case that not the total memory space is used the start address and end address have to be set manually FUNC 0 FE0000 ...

Page 24: ...FLASH PROGRAMMER YOKOGAWA AF220 221 Remarks MCU AN 390087 E V10 24 Fujitsu Microelectronics Europe GmbH 14 Remarks ...

Reviews: