How to program into AVR w/o Arduino kit

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

How to program into AVR w/o Arduino kit

Postby Lam » Thu Jan 26, 2012 7:59 pm

Hi all,

Is it possible using AVRusb Programmable to program into microcontroller without using Arduino kit?
If yes, anyone know how is the process?

Thanks.
Lam
Novice
 
Posts: 22
Joined: Thu Jan 26, 2012 7:54 pm

Re: How to program into AVR w/o Arduino kit

Postby ABSF » Fri Jan 27, 2012 1:00 pm

Lam WROTE:Is it possible using AVRusb Programmable to program into microcontroller without using Arduino kit?
If yes, anyone know how is the process?


What is "AVRusb Programmable" ? Never heard of it before...

If you are referring to the USB AVR programmer USBASP then you may refer to this link:

How to program Arduino by using USBasp without bootloader « Tutorial by Cytron
http://tutorial.cytron.com.my/2011/09/3 ... rogrammer/

Allen
The next war will determine NOT who is right BUT what is left.
User avatar
ABSF
Professional
 
Posts: 810
Joined: Wed Nov 10, 2010 9:32 am
Location: E Malaysia

Re: How to program into AVR w/o Arduino kit

Postby stan001 » Sun Feb 05, 2012 11:27 pm

Lam WROTE:Hi all,

Is it possible using AVRusb Programmable to program into microcontroller without using Arduino kit?
If yes, anyone know how is the process?

Thanks.


You must mean program Atmel AVR chips.. use this usbtinyisp :-

http://www.ladyada.net/make/usbtinyisp/index.html

It uses avrdude ( win/lin/mac) to program the chip with cli...

There are lots of online vendor selling this locally..
--
Arduino for Beginners Blog
http://arduino-for-beginners.blogspot.com/
stan001
Novice
 
Posts: 16
Joined: Tue Nov 02, 2010 7:11 pm
Location: Kuala Lumpur

Re: How to program into AVR w/o Arduino kit

Postby Lam » Thu Feb 09, 2012 12:42 am

Hi Allen,

http://www.cytron.com.my/viewProduct.ph ... Programmer
This is what I mean by AVR USBASP Programmer. But I'm not using any Arduino's kit, so I think can't help.
Anyway, thx for help.


Hi Stan001,
U get what I mean!!! :D
Can u suggest to me any website or vendor to buy usbtinyisp and avrdude?
Why I use AVR USBASP Programmer always says "No supported board found! AVRprog version 1.40"?
Lam
Novice
 
Posts: 22
Joined: Thu Jan 26, 2012 7:54 pm

Re: How to program into AVR w/o Arduino kit

Postby Lam » Thu Feb 09, 2012 12:46 am

By the way Stan001,

I'm using Atmega32 microcontroller. Is it avrdude support it?
Lam
Novice
 
Posts: 22
Joined: Thu Jan 26, 2012 7:54 pm

Re: How to program into AVR w/o Arduino kit

Postby hyng » Thu Feb 09, 2012 9:59 am

USBasp should be no problem to program the supported microcontroller without Arduino. Just make sure the connection is correct.
Except the AVRdude, you can also try others programmer software like Extreme Burner. It is quite easy to use compare to AVRdude. http://extremeelectronics.co.in/avr-tutorials/gui-software-for-usbasp-based-usb-avr-programmers/
User avatar
hyng
Moderator
 
Posts: 292
Joined: Thu Apr 16, 2009 11:35 am

Re: How to program into AVR w/o Arduino kit

Postby Lam » Thu Feb 09, 2012 10:40 am

Hi hyng,

Thx for reply. I've checked circuit connection and no problem with it.
I'll try the link u suggested to me.

I wish anyone who faced this problem before can reply or PM me.
Thanks first. ;)
Lam
Novice
 
Posts: 22
Joined: Thu Jan 26, 2012 7:54 pm

Re: How to program into AVR w/o Arduino kit

Postby robosang » Thu Feb 09, 2012 11:44 am

I am not good in arduino, but learning. Curious to know. How is the connection since you are programming the AVR without arduino board. Do you have the supporting components? It will be good if you share a photo of the setup with us.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: How to program into AVR w/o Arduino kit

Postby Lam » Thu Feb 09, 2012 12:02 pm

Hi robosang,

I'm follow Atmega32 data sheet, make a simple circuit for free running LEDs. I used some components such as capacitors and V regulator as power circuit, RESET circuit, external 8MHz crystal and LEDs.

Finally, I'm can program into my chip and done the free running LEDs! Special credit to hyng!

Thank so much to u all! :lol:
Lam
Novice
 
Posts: 22
Joined: Thu Jan 26, 2012 7:54 pm

Re: How to program into AVR w/o Arduino kit

Postby hyng » Thu Feb 09, 2012 12:12 pm

u have successfully program it? Congrats!! Can you share how have you solved the problem?
User avatar
hyng
Moderator
 
Posts: 292
Joined: Thu Apr 16, 2009 11:35 am

Next

Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 27 guests