EM78F Series In System Programming (ISP) Guide

EM78F Series In
System Programming
(ISP) Guide
Application Note
ELAN MICROELECTRONICS CORP.
DOC. #GENERAL FUNCTION AN-028
Apr. 2007
Supporting Devices:
Flash Type: EM78Fxxx series.
Trademark Acknowledgments:
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation
ELAN and ELAN logo
are trademarks of ELAN Microelectronics Corporation
Document No. AN-028
Copyright © 2007 by ELAN Microelectronics Corporation
All Rights Reserved
Printed in Taiwan
The contents of this document are subject to change without further notice. ELAN
Microelectronics assumes no responsibility for errors that may appeared in this
manual. ELAN Microelectronics makes no commitment to update, or to keep current
the information contained in this manual.
ELAN Microelectronics products are not intended for use in life support appliances,
devices, or systems. Use of ELAN Microelectronics product in such applications is
not supported and is prohibited.
NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED
IN ANY FORM OR BY ANY MEANS WITHOUT THE EXPRESSED WRITTEN
PERMISSION OF ELAN MICROELECTRONICS.
ELAN MICROELECTRONICS CORPORATION
Headquarters:
Hong Kong:
USA:
No. 12, Innovation Road 1
Hsinchu Science Park
Hsinchu, Taiwan 30077
Tel: +886 3 563-9977
Fax: +886 3 563-9966
http://www.emc.com.tw
Elan (HK) Microelectronics
Corporation, Ltd.
Elan Information
Technology Group
Rm. 1005B, 10/F Empire Centre
68 Mody Road, Tsimshatsui
Kowloon , HONG KONG
Tel: +852 2723-3376
Fax: +852 2723-7780
elanhk@emc.com.hk
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
USA
Tel: +1 408 366-8223
Fax: +1 408 366-8220
Shenzhen:
Shanghai:
Elan Microelectronics
Shenzhen, Ltd.
Elan Microelectronics
Shanghai Corporation, Ltd.
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Park
Shenzhen, Guandong, CHINA
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 021 5080-3866
Fax: +86 021 5080-4600
Contents
Contents
1
2
3
Description…..………………………………………………………………………………1
Reason ..................................................................................................................... 2
Process .................................................................................................................... 3
AN-028 (V1.0) Apr. 11, 2007
• iii
1
Description
We build this document to guide our customer to understand how to use the “In system
Programming (ISP)” of flash type ICs EM78Fxxx.
The supporting devices of this application note are listed below:
Flash Type: EM78Fxxx series.
2
Reason
There is a special function of our flash type ICs: In Sytem Programming (ISP). That is, we can
directly re-program the IC without remove from system board just to watch out the relative
application circuit if we are going to do.
AN-028 (V1.0) Apr. 11, 2007
•1
3
H/W Requirement
3.1 PC, FWTR
We need an Elan Flash Writer (FWTR) and a PC with software installed. The driver will
be provided in EMC website http://www.emc.com.tw/eng/e-products.htm, and click
“FWTR” to install the driver directly. All setting (jumpper) of FWTR are same as the
part you select while you are using FWTR like Fig. 1.
Fig. 1
2•
AN-028 (V1.0) Apr. 11, 2007
3.2 Cable and Connectting board
I.
The diagram of ISP is as Fig.2
FWTR
Transfer
Cable
40 Pin
socket
Targrt Board
Fig.2
II. The Transfer cable is a 14pin bus transfer from FWTR to target board. Fig.3
indicates the pin assignment of the transfer board on FWTR side.
JP1
clk
/reset
data
vss
aclk
vdd
1
3
5
7
9
11
13
2
4
6
8
10
12
14
clk
/reset
data
vss
aclk
vdd
HEADER 7X2
Fig.3
AN-028 (V1.0) Apr. 11, 2007
•3
III. Fig.4: PCB of transfer board
Fig.4
IV. Fig.5 Indicates a connection example of ISP
Fig.5
4•
AN-028 (V1.0) Apr. 11, 2007
3.3 H/W Notice on Application System
I.
Pull high
VDD
R
Pin
Pin(Data, Clk, Reset)R= More than 1k Ohm.
II.
Pull Low
Pin
R
Pin(Data, Clk), R= More than 1k Ohm.
Pin(/Reset), R= More than 5k Ohm.
III. LED
VDD
R
Pin
Pin(Data, Clk), R= More than 390 Ohm
Pin(/Reset), R= More than 100 Ohm
AN-028 (V1.0) Apr. 11, 2007
•5
IV.
LED
Pin
R
Pin(Data, Clk), R= More than 500 Ohm
Pin(/Reset), R= More than 5k Ohm
V.
NPN
VDD
1K
Rb
Pin
Pin(Data, Clk), Rb= More than 1k Ohm
Pin(/Reset), Rb= More than 5k Ohm
VI. PNP
VDD
Rb
Pin
4.7K
Pin(Data, Clk), Rb= More than 1k Ohm
Pin(/Reset), Rb= [100 Ohm, 10M Ohm]
6•
AN-028 (V1.0) Apr. 11, 2007
VII. Diode for “RESET” Pin
VDD
R
RESET
Rin
C
Pin(/Reset), Rin= More than 10K Ohm
VIII. Zenar Diode for “RESET” Pin
VDD
VDD
10K
33K
1N4684
RESET
100K
IX. Reset Circuit for special level of “RESET” Pin
VDD
VDD
R1
R2
RESET
R3
AN-028 (V1.0) Apr. 11, 2007
•7
X.
RC Reset for “RESET” Pin
VDD
R
RESET
104
Pin(/Reset), R= [0, 1k Ohm]
8•
AN-028 (V1.0) Apr. 11, 2007