Holtek EIC-100 User¢s Guide

Holtek EIC-100 User¢s Guide
April 2007
Copyright Ó 2007 by HOLTEK SEMICONDUCTOR INC. All rights reserved. Printed in Taiwan. No part of this publication
may be reproduced, stored in a retrieval system, or transmitted in any form by any means, electronic, mechanical photocopying, recording, or otherwise without the prior written permission of HOLTEK SEMICONDUCTOR INC.
Contents
Contents
Introduction ..................................................................................................1
Features ........................................................................................................1
Packaging Information ................................................................................2
System Operation ........................................................................................3
i
Holtek EIC-100 User¢s Guide
Holtek EIC-100 User¢s Guide
Introduction
The Holtek EIC-100 is a simple writer developed specifically for In-System Programming (ISP) of
the HOLTEK Flash range of microcontrollers.
Features
A range of useful features are included for user convenience some of which are listed below:
·
·
·
·
Note
Supports ESTD-100*
Supports Flash type MCU devices
USB interface PC communication
Utilises USB port supply power - external power supply not required
ESTD-100*: HOLTEK¢s 8-bit Flash MCU ISP standard interface. The entire series of Flash ISP
programming equipment developed by HOLTEK utilises this standard interface.
More details are located in the ²ESTD-100 user¢s guide².
1
Holtek EIC-100 User¢s Guide
Packaging Information
·
·
·
·
EIC-100 circuit board
ESTD-100 interface line
USB cable
StarterKit.exe software
P ro g ra m
U S B C a b le
E S T D -1 0 0
U s e r 's
T a rg e t
B o a rd
EIC-100 Component Part Connection
P o w e r In d ic a to r
S ta te In d ic a to r
(G re e n L E D )
(R e d L E D )
U S B
7 - p in D a ta L in e
In te rfa c e
In te rfa c e
C M T P C A B L E 0 0 0 5 A
EIC-100 PC Board Structure
2
Holtek EIC-100 User¢s Guide
System Operation
Installation
· Step 1: Connects the EIC-100 hardware as shown in the diagram
· Step 2: Install the EverPro S1000 software
· Step 3: When the setup has finished, click the ²start² menu ® ²Holtek MCU Development
Tools² ® ²EverPro S1000² ® ²EverPro S1000², open EIC-100 operation Windows.
See Figure 0.
The initial working window of the EIC-100 is as shown in Figure 1.
Figure 0
Figure 1
3
Holtek EIC-100 User¢s Guide
Auto Power On
Selecting ²Auto Power On² from within the ²Tools²menu will implement the auto power on MCU
function. This auto-power on feature means that after the completion of various operations, such
as download or upload, the power will be automatically supplied to the device. The MCU will begin
to operate as shown in Figure 2.
Figure 2
4
Holtek EIC-100 User¢s Guide
Power On
Selecting ²Power On² from within the ²Tools² menu can supply power to the MCU. The MCU will
then operate when the power source is connected. The MCU and the procedure will then run from
its initial state. See Figure 3.
Note
The USB interface will supply 5 V with a maximum current of up to 500 mA, which can be used to
meet the user's target board power requirements. If however this is inadequate, and more power
is required,an additional power source can be connected. It is recommended that after download,
the EIC-100 should be placed in a ²Power down² state, the target board disconnected and only
then the external power source connected. In this way the possibility of damage to the target board
or the PC can be minimised.
Figure 3
5
Holtek EIC-100 User¢s Guide
Power Down
Selecting ²Power Down² from within the ²Tools² menu will disconnect the MCU power supply. After execution, the power supply to the MCU will be disconnected, allowing the users to modify their
target board circuits or to remove the target board. See Figure 4.
Figure 4
Download - Program
This command is used to program the device. Before downloading, the user must have first created an *.MTP file using the HOLTEK IDE3000 development system. If no *.MTP file exists then
the demonstration files: light.mtp , melody.mtp can be selected.The operating steps are as follows:
· Step 1: Open the file that is to be programmed into the device (*.MTP).
· Step 2: There are three options in the Download menu: ²Program², ²EEData² and ²ALL².
Selecting ²Program² will program the Program Memory, selecting ²EEData² will
program the EEPROM memory and selecting ²ALL² will program both. See Figure 5.
· Step3: After the download operation has ended, ²Power On² can be used to operate
the MCU.
6
Holtek EIC-100 User¢s Guide
Figure 5
Upload - Read
Before executing an upload command, the file to be uploaded must first be opened using the ²File²
menu. Also select the MCU type required from ²Select MCU Type². See Figure 6.
Within the Upload function are three commands, ²Program², ²EEData² and ²ALL². Selecting the
²Program² command, will only read the Program Memory data. Selecting the ²EEData² command
will only read the EEPROM Data Memory area. Selecting the ²ALL² command, will read both the
Program Memory data and the EEPROM Data Memory data. See Figure 7.
The data that is read out will be displayed in the corresponding Windows. If it is required to save
the data, the ²Save² command, located withing the ²File² menu, can be used.
7
Holtek EIC-100 User¢s Guide
Figure 6
Figure 7
8
Holtek EIC-100 User¢s Guide
Verify Program
The ²Verify Program², ²Verify EEData² and ²Verify All² commands, within the Upload menu, can
be used to verify the Program and EEPROM Data Memory. The required *.MTP file must first be
opened before any of these operations are carried out. See Figure 8.
Figure 8
9
Holtek EIC-100 User¢s Guide
Device Lock
After the device has been programmed, if it is required to protect the programmed data, then
²Lock Device² within the ²Download² menu can be selected . After this operation has been executed it will not be possible to read back the source program within the MCU.
See Figure 9.
Figure 9
10
Holtek EIC-100 User¢s Guide
Erase
If it is required to update the program within the MCU, but if the data in the MCU has been protected, which prevents reading, the MCU should first be erased.
The ²Erase² command is located within the download menu. When erasing the MCU data, it is recommended that the ²Erase All² function is used. If the MCU was unlocked during the update operation, then there is no need to first erase the MCU. Programming can be carried out directly as
shown in Figure 10.
Figure 10
11
Holtek EIC-100 User¢s Guide
Reset
The "Reset" command is located within the ²Tools² menu and is used to reset the MCU condition.
If the device is in the ²Auto Power On² condition, executing the ²Reset² command will force the
MCU to return to its initial condition and restart its program. If the device is in the ²power on² state,
executing the ²Reset² command may place the MCU in a ²power down² state, requiring the execution of a ²power on² command for the MCU to restart operation. See Figure 11.
Figure 11
12
Headquarters & Subsidiaries
Holtek Semiconductor Inc. (Headquarters)
No.3, Creation Rd. II, Science Park, Hsinchu, Taiwan
Tel: 886-3-563-1999
Fax: 886-3-563-1189
http://www.holtek.com.tw
Holtek Semiconductor Inc. (Taipei Sales Office)
4F-2, No. 3-2, YuanQu St., Nankang Software Park, Taipei 115, Taiwan
Tel: 886-2-2655-7070
Fax: 886-2-2655-7373
Fax: 886-2-2655-7383 (International sales hotline)
Holtek Semiconductor Inc. (Shanghai Sales Office)
7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China 200233
Tel: 86-21-6485-5560
Fax: 86-21-6485-0313
http://www.holtek.com.cn
Holtek Semiconductor Inc. (Shenzhen Sales Office)
5/F, Unit A, Productivity Building, Cross of Science M 3rd Road and Gaoxin M 2nd Road, Science Park, Nanshan District,
Shenzhen, China 518057
Tel: 86-755-8616-9908, 86-755-8616-9308
Fax: 86-755-8616-9722
Holtek Semiconductor Inc. (Beijing Sales Office)
Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031
Tel: 86-10-6641-0030, 86-10-6641-7751, 86-10-6641-7752
Fax: 86-10-6641-0125
Holtek Semiconductor Inc. (Chengdu Sales Office)
709, Building 3, Champagne Plaza, No.97 Dongda Street, Chengdu, Sichuan, China 610016
Tel: 86-28-6653-6590
Fax: 86-28-6653-6591
Holtek Semiconductor (USA), Inc. (North America Sales Office)
46729 Fremont Blvd., Fremont, CA 94538
Tel: 1-510-252-9880
Fax: 1-510-252-9885
http://www.holtek.com
Copyright Ó 2007 by HOLTEK SEMICONDUCTOR INC.
The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used
solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable
without further modification, nor recommends the use of its products for application that may present a risk to human life
due to malfunction or otherwise. Holtek¢s products are not authorized for use as critical components in life support devices
or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information,
please visit our web site at http://www.holtek.com.tw.