The 8051 development board can be used as a learners kit as well as a project board.

An ISP programmer is required to fuse the HEX file on to the target 40 pin IC (89S 51 or 89S 52).

The HEX file is created using KEIL software. See previous post to create HEX file

clip_image002

Care should be taken while connecting the ISP programmer with the Development board.Look out for the GND connection printed on the boards .

The GND of ISP must match the GND of Development board.

Connect the USB cable of ISP programmer to USB port of your PC.

No external power is required for the Development board.Power is sourced from USB port of PC.

clip_image004

PROGISP is the software used to load the HEX file on to the target chip.

KEIL Microvision is the software to create HEX file using C code or Assembly language.

Download the software here :

http://www.alselectro.com/files/8051_isp.zip

The drivers for the ISP Programmer is found inside the Drivers folder of PROGISP.

clip_image005

Open the DEVICE Manager of your PC while connecting the ISP programmer to USB port.If you get an exclamation mark against device , Update driver & browse to the location of Drivers inside PROGISP folder you’ve downloaded.

Once the Drivers are installed you get the USBasp under Device manager.

The setup is now ready to load the HEX file.

clip_image006

We use the PROGISP application to load the HEX file on to the target IC. No installation is required for this software , it’s a standalone one.

Double click progisp.exe to open the application.

The PRG ISP & USB ASP buttons should be bright .If it’s greyed out , then check the USB cable connection & the driver installation.

clip_image008

Select the target chip (here 89S 52) from the “Select Chip “ drop down menu.

Ensure that following buttons are Enabled :

Verify Signature

Chip Erase

Program Flash

Verify Flash

If you enable the LOCK CHIP button , others can’t make a copy of your chip.

clip_image010

Click on FILE — > LOAD FLASH & browse to the location of the HEX file you’ve created using KEIL.

clip_image012

clip_image014

Once the HEX file is loaded , click on AUTO button to perform the tasks you’ve enabled.

clip_image016

The status bar at the bottom indicates the progress of operation.

clip_image018

clip_image020

Finally the HEX is successfully loaded on to the target chip.

clip_image022

If the PROGRAM FLASH button is not enabled , you get Flash Verify Error while fusing.

clip_image023 clip_image025

alselectro@gmail.com Technical Blog : http://www.alselectro.wordpress.com