HandyProg Setup

A message box should appear with text Welcome to the HandyProgUSB-ISP Programmer Installation program. Click the OK button to continue. In Windows XP, if the message box does not appear, you will have to upgrade XP to at least SP2.

Another message will appear with the text Begin the installation by checking the button below. You can change the default installation directory here if you wish. To continue, click the button with an icon of a PC on it.

Another message will appear which will allow you to select the Program Group. Keep it as is and click the Continue button. Installation will begin. If any messages appear asking you to keep a file, click Yes. If any messages appear warning of a file in use, click Ignore.

When the installation is complete, a message will appear with the text HandyProgUSB-ISP Programmer Setup was completed successfully. Click OK. The programmer now is ready to use.

Running the HandyProgUSP-ISP Software

To run the HandyProgUSB-ISP software, browse through Start ⇒ All Programs ⇒ DeccanRobots ⇒ HandyProgUSB ISP

Setting up the PCAM+ Hardware for Programming

Power up the main board (PCAM+ board) with 9V DC.

The board has the facility to use 89S52 (included and mounted on the board by default), ATmega32 or ATmega8. There are different sockets for these three controllers. Ensure that you have only one controller on the board at any given time. Programming is not possible with more than one controller on the board. As the board has only the 89S52 on it by default, you don't have to worry about this unless you have previously installed another microcontroller.

Drivers must be installed before your first usage of the HandyProg-USB hardware. Be sure you have downloaded and installed the correct D2XX Driver for your version of Windows.

Insert the HandyProgUSB hardware into the USB port of your PC/Laptop. You may use a USB extension if required.

Connect the 10-pin FRC cable between the HandyProg-USB programmer hardware and the main board's ISP port. The green LED on the HandyProg-USB should glow indicating that it has received power from the main board. The HandyProg-USB hardware does not use the USB port power.

You should see a message indicating the HandyProg-USB was found when using it for the first time, provided that the drivers were installed as mentioned above.

The setup is ready. The main PCAM+ board is powered up, and the HandyProgUSB programmer is connected to your PC or Laptop. The FRC cable is connected between the main board's ISP port and the HandyProg-USB programmer's 10-pin port. The USB driver is installad and thus HandyProg-USB is detected by PC on the first use. It's time to program the board for the first time.

Using the HandyProg-USB Software

3. Open Flash Hex File (use any suitable Hex file, such as the ones in this tutorial)

4. Click Start button to program

The red LED on the HandyProg-USB hardware will turn on during the programming process. The target device goes back into Run mode automatically when programming completes. If you're completing Chapter 1 of this tutorial, that means every other LED just turned on!

Now you're ready to learn about more interfaces with the 8051 microcontroller.