Sunteți pe pagina 1din 5

INTRODUCTION

8051 Usb programmer is basically used in 8051


development board to eradicate the problem of
connection using serial ports.serial ports are not
available in laptops,e.t.c so,to programme the AT89s52
microcontroller of the 8051 development board,8051
usb programmer is generally used.Thinnkware is the
leading provider of the 8051 usb programmer
compatible to 8051 development board.
Well be studying basic architechture and working of
8051 usb programmer used in 8051 development board
in two parts:HARDWARE CONFIGURATION
In this part,well be emphasizing on two keypoints:1.numbering(counting) pins of box connector in usb
programmer
2.connecting pins of 8051 usb programmer to pins of
8051 development board.
Numbering pins in box connector of 8051 usb programmer

Our prime concern now, is to understand the


numbering of pins of the box connector in 8051 usb
programmer..
The pins are arranged in two rows in a set of five(total
of 10 pins).5 pins in a row near to notch(row 1) and 5
pins in a row away from notch(row 2).From the
notch,the pin in the extreme left in row 1 is numbered
as 1st pin.The pin just above it in row 2 is numbered as

2nd pin.thus,row 1 consists of all odd number of pins


and row 2 consists of even number of pins.
Connecting pins of 8051 usb programmer to pins in 8051
development board.

PROGRAMMER BOX CONNECTOR


PINS
The box connector pins are as follows:
Pin 1 is referred as MOSI
Pin 2 as MISO
Pin 3 as SCK
Pin4 as Reset/SS
Pin5 -Not Connected
Pin 6 Not Connected
Pin 7 Not Connected
Pin 8 Not Connected
Pin 9 is referred as VCC (+5V)
Pin 10 is referred as GND
Connect the pins of the microcontroller to the pins of the box
connector in
USB Programmer in the manner given below only using burge
strip
connectors.

Pin 1(MOSI) of 8051 usb programmer is connected


to port 1.5(p1.5) of 8051 development board.
Pin 2(MISO) of 8051 usb programmer is connected
to port1.6(p1.6) of the development board.
Pin 3(SCK) is connected to port1.7(p1.7) of the
8051 development board
Pin 4(Reset/ss) of 8051 usb programmer is
connected to the reset pin of the 8051
development board.

Pin 5,pin 6,pin 7,pin8 are not connected.


Pin 9(Vcc(+5V)) of 8051 usb programmer is
connected to +5V supply of 8051 development
board.
Pin 10(GND) is connected to -5V supply of 8051
development board.
After these connections are made, USB cable in the
USB programmer can be connected to laptop or
desktop easily..
Red LEDs present in the 8051 USB programmer as
well as in 8051 development board will start
glowing if the connections are proper and will
signify that the circuit is correct.

Software configuration
For this, we have to do driver installation first..
8051 programmer is USB asp compatible..
USB cable from the laptop or desktop, is connected
to the USB programmer.
Open device manager from the control panel
section.
Here, you can find the option of LibUSB-win32
devices. In this, there is option of USB asp that the
driver is not installed properly.
So, to install the driver, double click on the USB
asp option.
Here, click on the driver option and then on the
update driver option.

Now, select the option of install from the specific


location. click on the next option and then browse
button
Browse the folders given in the cd for drivers.
On selecting USBasp windriver(folder) here..youll
be finding two options in this :
Libusb 0.1.12.1(for windows 32 bits,
recommended)
Libusb 1.2.4.0 (for windows 64 bits,
recommended)
You can select anyone of these options based on
your convenience.and then click next to install to
install the driver..
In cd content,you can find PROGISP168 ..
Now select the hex file in loadflash option in
PROGISP168
Mark the options as shown in the figure.
Click autoprogram will be executed.

S-ar putea să vă placă și