You are on page 1of 7

Email: info@sunrom.

com
Visit us at http://www.sunrom.com

Document: Datasheet

Date: 13-Nov-11

Model #: 1118

Products Page: www.sunrom.com/p-1.html

89 Series USB Programmer


This is programmer for 89 series
microcontrollers like AT89C51,
AT89S52, AT89C2051 and such
series from Atmel. Board also
supports various 8 pin serial
EEPROM ICs. ZIF socket enables
easy insertion and removal of devices
for programming. Programming is
very fast and reliable since it is USB
based. No external power required
since it is powered from USB port
itself.

Features

Supports 89 series & serial


EEPROM devices
Powered from USB port (No external power required)
Fast speed writing (8kb flash file in 10 seconds)
LED indicating active process
Auto Identify connected programmer
Error checking and verification in-built
Lock of programs in chip supported to
prevent program copying
40 pin ZIF socket for easy insertion &
removal
Auto Erase/Lock/Verify
Informative window and access to
latest programmed file
Simple and Easy to use

Specification
Parameter
Communication
Power
Cable
Dimension

Details
USB 2.0 compliant
+5V from USB Cable
USB A to B type
10cm x 6.4 cm

Software for Programming

Devices Supported
Atmel
AT89C51
AT89C52
AT89S51
AT89S52
AT89S53
AT89S8252
AT89C1051
AT89C2051
AT89C4051

Winbond
W78E51
W78E52

SST
SST89C54
SST89C58
SST89C59
SST89E54RD
SST89E58RD
SST89E554RC

Serial EEPROM
AT24C01
AT24C02
AT24C04
AT24C08
AT24C16
AT24C32
AT24C64
AT24C164

Serial EEPROM
AT93C46
AT93C56
AT93C66

Our Package Includes

Tested & Ready to use USB Programmer covering 1 year warranty


CDROM containing programming software, USB Driver & PDF manual.
USB Cable for connecting to PC

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Getting started for first time use


Step #1 Connect Programmer to USB Port

Plug in one end of USB Cable to PCs USB Port and another end to Programmer. When connecting
the 1118 hardware to USB the LED on programmer will blink once and become off. It is normal
indication of everything is ok.
Step #2 Install USB Driver

Insert the CDROM provided with programmer. There will be a folder called USB
Driver. It contains a file README.TXT with instructions related to install of USB
Driver as per your operating system.

Step #3: Install PC Software

Install PC software by running its setup 1118_setup.exe from CDROM and follow
onscreen instructions. After setup is done, it will install icon on desktop.

Step #4: Start Software

Run 1118 software from desktop or start menu.


Software should connect and show ONLINE icon green color at bottom. Your programmer is ready
to use. Refer to pages below to follow process.

If you get failed to connect in software, refer to next page.


Just to check, Now you should be able to see a Virtual COM port
in your Device manager as shown here. It will be called USB
Communications Port(COMx).
To open device manager right click My Computer and click properties. In this window see Hardware > Device Manager > Ports.
IMPORTANT NOTE: The COM port detected should be between COM1 to COM9 else software will fail to connect to hardware. Next
page has instructions on how to change COM port.

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Troubleshooting Notes Failed to connect in software


If you get failed to connect error in software, It is possible that virtual com port is not between
COM1-COM9. To solve this error you need to change system assigned com port from device
manager. Follow steps below

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Inserting IC into ZIF socket


Insert devices as shown below. Note pin #1 is indicated by arrow on programmer.
All device pin#1 is at handle of ZIF socket.
DIP8

DIP20

DIP40

After you put device in ZIF socket, then pull handle down. This will bring tension on all pins of
device and bring contact to all pins.
When programmer is not in use, the Handle should be left vertical and IC removed from socket else
the life of socket will be reduced.

Understanding BIN/HEX file


To program any device you need a compiled executable file in BIN or HEX format.
Usually following is the process to generate HEX from source code
Assembly/C Source Code > Source Compiler > Output is BIN or HEX format loaded in software
HEX extension file is an executable file for microcontroller. You will need to compile your source
code with a compiler to generate HEX for BIN file which can be loaded into microcontroller. We
have provided a LED test folder on CDROM containing demo project to blink LED. It has source
code and a file with .HEX extension made in Keil compiler. BIN file can also be used if your compiler
generates that. Benefit of using HEX file is it includes error checking inbuilt so it detects corruption
of data in it if any. Thus you should use a compiler like SDCC or Keil which generate HEX file, See
links for the compilers at last page of this documents.

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Programming Method
Step #1: Select Device

Select Device by clicking Device button to bring device selection dialog. After
selecting inserted device click OK.
To select recently used devices you can click on down arrow & select.
Step #2: Load file

PC software takes HEX or BIN file for programming.


Load > Select HEX file & click OK.
To select recently used files you can click on down arrow & select.
You will see following dialog when you load a HEX extension file. You can keep all setting as default
and click OK to select this file.

Step #3: Auto Program

Click on Auto button to start programming process.

Locking Device to prevent copying


To set lock option for selected device click on Config, Mode0 is no lock and other
modes are other lock options. You can see device datasheet as to which config lock bit
will be suitable in your application. Once you set a config for particular device it is stored
and it is not required to set again.
Next time you program a particular
device same config will be used to
load in to device during Auto
process.
This option is
COMPLETE
LOCK OPTION

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Copying from one device to another


You may wish to copy content from one programmed IC to another. For this process, first select
device and Insert Master IC from which you want to copy program then click on
READ button. It will read device memory to buffer.
If you wish to see what content was read you can click on EDIT button. To
save this memory as HEX file you can click on SAVE button.
If your master IC is locked, it will show memory as 0xFF means its content cannot be read.
Once you have saved file from master you can use this file to load into new microcontrollers.

Other software options


Normally you will use Auto method in repeated programming task. Auto method
will automatically do Erase, Blank Check, Program, Verify & Protect.
We have given other options like Blank, Read, Program, Verify, Protect & Erase
that can be used individually if you wish.
Following are methods you can use
Auto: Automatically do all process below as required to load file into device
Blank: Check if device is blank
Read: Read content of inserted device into buffer
Program: Load the content of file into device
Verify: Check if loaded file content matches with device content
Protect: Program Config options to device
Erase: Erase the device.

Related Links
http://www.keil.com
http://sdcc.sourceforge.net/
http://en.wikipedia.org/wiki/Intel_HEX

Sunrom Technologies

Keil: Commercial C & assembly compiler for 8051 devices


SDCC: Freeware C compiler for 8051 devices
Intel Hex file format information

Your Source for Embedded Systems

Visit us at www.sunrom.com

You might also like