USBasp Programmer

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

USBasp Programmer

Postby vick5821 » Sat Jul 21, 2012 6:07 pm

Hey there,

for this product :
http://www.cytron.com.my/viewProduct.ph ... Programmer

From what I know so far, this is the third party of Atmel original programmer right ? So, I can use this to program AVR chips for example atmega 8, atmega 328, atmega 16, atmega 32 right ? But from what I know, I cant directly program the AVR chip by plug into the chip. I have to put my AVR chip into the arduino's IC socket and the upload the code into the chip then remove the chip and return it to the original development board. This is the way to program using USBasp programmer that I know. But this is limit to 28 pins chip only. So how about if I want to program atmega 32 which having 40 pins ?

Can I use AVR studio to upload the hex file to the chip by using this USBasp programmer ?

Please tell me how am I able to program an AVR chip using this USBasp programmer as I do not want to spend more for the original Atmel AVR programmer which costs me RM 150.

Thank you.
vick5821
Discoverer
 
Posts: 85
Joined: Tue Jun 28, 2011 10:21 pm

Re: USBasp Programmer

Postby zhenning » Sun Jul 22, 2012 4:51 pm

Can I use AVR studio to upload the hex file to the chip by using this USBasp programmer ?


Nope you cant. AVR studio only supports only original Atmel tools. You can use AVRDude.

I have to put my AVR chip into the arduino's IC socket and the upload the code into the chip then remove the chip and return it to the original development board. This is the way to program using USBasp programmer that I know. But this is limit to 28 pins chip only. So how about if I want to program atmega 32 which having 40 pins ?

There are only 6 pins that is used to program. MISO, MOSI, SCK, RESET, VDD, VSS. You can just wire up this 6 pins for your 40pin ATMEGA 32
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: USBasp Programmer

Postby vick5821 » Sun Jul 22, 2012 5:00 pm

That mean I can not put the chip directly into the arduino's chip ? If I use like for example atmega8, I can replace the atmega328 in arduino with my atmega 8 and then program the code into the chip, then remove the atmega 8 right ?

So, if I used atmega 32, I have to set up my own connection to breadboard and program it ?

Thank you
vick5821
Discoverer
 
Posts: 85
Joined: Tue Jun 28, 2011 10:21 pm

Re: USBasp Programmer

Postby zhenning » Sun Jul 22, 2012 5:24 pm

vick5821 WROTE:That mean I can not put the chip directly into the arduino's chip ? If I use like for example atmega8, I can replace the atmega328 in arduino with my atmega 8 and then program the code into the chip, then remove the atmega 8 right ?

So, if I used atmega 32, I have to set up my own connection to breadboard and program it ?

Thank you


Yup. you have to set it up on the breadboard.
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: USBasp Programmer

Postby vick5821 » Sun Jul 22, 2012 5:35 pm

Okay, means that I can build my own arduino but then I changed the IC socket to 40pins ZIF socket so that it can be a programmer for AVR chip . Am I correct ?

Thank you :)
vick5821
Discoverer
 
Posts: 85
Joined: Tue Jun 28, 2011 10:21 pm

Re: USBasp Programmer

Postby zhenning » Sun Jul 22, 2012 6:06 pm

vick5821 WROTE:Okay, means that I can build my own arduino but then I changed the IC socket to 40pins ZIF socket so that it can be a programmer for AVR chip . Am I correct ?

Thank you :)


Yup
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: USBasp Programmer

Postby vick5821 » Sun Jul 22, 2012 6:12 pm

Okay. Get it. Thank you :D
vick5821
Discoverer
 
Posts: 85
Joined: Tue Jun 28, 2011 10:21 pm

Re: USBasp Programmer

Postby vick5821 » Mon Jul 23, 2012 7:23 pm

Hey, want to ask, how can I program the BBFuino using the ISP pins and by using this USBasp Programmer ?

I do not have the FTDI Programmer(UC00B)

Thank you
vick5821
Discoverer
 
Posts: 85
Joined: Tue Jun 28, 2011 10:21 pm

Re: USBasp Programmer

Postby vick5821 » Mon Jul 23, 2012 7:37 pm

What does the sentence that I underline in black means ?

I am not quite getting it.

We are using arduino IDE now, what does it means by not using arduino board ?
Image
vick5821
Discoverer
 
Posts: 85
Joined: Tue Jun 28, 2011 10:21 pm


Next

Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 47 guests

cron