Page 1 of 2

USBasp Programmer

PostPosted: Sat Jul 21, 2012 6:07 pm
by vick5821
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.

Re: USBasp Programmer

PostPosted: Sun Jul 22, 2012 4:51 pm
by zhenning
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

Re: USBasp Programmer

PostPosted: Sun Jul 22, 2012 5:00 pm
by vick5821
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

Re: USBasp Programmer

PostPosted: Sun Jul 22, 2012 5:24 pm
by zhenning
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.

Re: USBasp Programmer

PostPosted: Sun Jul 22, 2012 5:35 pm
by vick5821
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 :)

Re: USBasp Programmer

PostPosted: Sun Jul 22, 2012 6:06 pm
by zhenning
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

Re: USBasp Programmer

PostPosted: Sun Jul 22, 2012 6:12 pm
by vick5821
Okay. Get it. Thank you :D

Re: USBasp Programmer

PostPosted: Mon Jul 23, 2012 7:23 pm
by vick5821
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

Re: USBasp Programmer

PostPosted: Mon Jul 23, 2012 7:37 pm
by vick5821
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

Re: USBasp Programmer

PostPosted: Mon Jul 23, 2012 11:19 pm
by vick5821