Back to PCAM+ page.
Back to Chapter 1
Installation and Usage of HandyProg-USBThe HandyProg-USB Programmer is a proprietary design. It is designed to program 89S52 and some AVR microcontrollers.
HandyProg SetupIf you haven't already done so, download the HandyProg-USB Programming Software and un-Zip the contents onto your hard drive.
Locate the folder HandyProgISPUSB and run setup.exe.
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 SoftwareTo run the HandyProgUSB-ISP software, browse through Start ⇒ All Programs ⇒ DeccanRobots ⇒ HandyProgUSB ISP
Setting up the PCAM+ Hardware for ProgrammingPower 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
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!
- 1. Select Device
- 2. Select Programming Option: Program Flash, Verify Flash, Program & Verify EEPROM (only For AVRs), Write AVR Fuse Bits, Lock Device
- 3. Open Flash Hex File (use any suitable Hex file, such as the ones in this tutorial)
- 4. Click Start button to program
Now you're ready to learn about more interfaces with the 8051 microcontroller.
Proceed to Chapter 3
Back to PCAM+ page.