Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] understanding USBASP

Status
Not open for further replies.

nagsaver

Junior Member level 1
Junior Member level 1
Joined
Jun 27, 2012
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,395
hey guys,
My usbasp has an ATmega8 on it.....I understand that when i am tryin to program my microcontroller(which is also ATmega8) the two microcontrollers(one on the usbasp and the one i am programming) communicate by SPI(serial peripheral Interface).....But my doubt is how is the .hex file transferred to the ATmega8 on the programmer in the first place?????
 

The USBasp uses USB to connect to the PC, that is where the data is transfered from.
 

Ok if that is the case then why do we have a programmer in the first place ???we can directly use the microcontroller of the programmer right??
 

You mean why not have the USB connected directly to the chip being programed?
This wouldn't work unless there is some kind of bootloader that uses USB to self program the chip.
This is how arduino works so that it doesn't need an external programmer but the chips are already using a bootloader.

Another similar project is https://www.obdev.at/products/vusb/usbasploader.html
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top