Society of Robots - Robot Forum

Software => Software => Topic started by: byuri on August 17, 2008, 06:03:17 AM

Title: 50$ AVR programmer error
Post by: byuri on August 17, 2008, 06:03:17 AM
hey, i build 50$ robot.
i have a AVR STK serial port dongle programmer, ATmega168. i write the code with PonyProg2000.
now i try to add UART function to AVR,
i turn power on and connect the programmer but when i click on "Connect to the selected AVR programmer" at AVR studio, i have an ERROR
http://img378.imageshack.us/img378/5205/24499981ve0.png
what is the problem? how can i open and change FUSES options?
Title: Re: 50$ AVR programmer error
Post by: MarkBrown on August 17, 2008, 10:35:33 AM
Based on the $50 Robot Tutorial, aren't you supposed to use PonyProg to transfer the code if you are using the serial port dongle?  Transfering the code using AVR Studio was for the AVRISP mkII programmer.

Mark
Title: Re: 50$ AVR programmer error
Post by: byuri on August 17, 2008, 12:13:20 PM
correct, but how can i modify my 50$ robot with UART?
Title: Re: 50$ AVR programmer error
Post by: MarkBrown on August 17, 2008, 12:27:09 PM
I do not know what UART is yet, or what it is useful for, but there is a link at the bottom of the $50 robot tutorial on adding UART functions to the AVR.  Here is the link if it helps: http://www.societyofrobots.com/microcontroller_uart_50_robot.shtml.

Mark
Title: Re: 50$ AVR programmer error
Post by: byuri on August 17, 2008, 12:51:48 PM
I am talking about this particular guide but in my case it doesn't work like it is written in the guide
Title: Re: 50$ AVR programmer error
Post by: byuri on August 18, 2008, 04:11:33 AM
i cant work with AVR studio, but which fuses i need to checked on PonyProg2000?

avr studio fuses
http://www.societyofrobots.com/images/microcontroller_uart_clock_settings.png

ponyprog2000 fuses
http://img205.imageshack.us/img205/2669/mukibi7.png


tnx.
Title: Re: 50$ AVR programmer error
Post by: Admin on August 22, 2008, 11:57:16 AM
Quote
i cant work with AVR studio, but which fuses i need to checked on PonyProg2000?

avr studio fuses
http://www.societyofrobots.com/images/microcontroller_uart_clock_settings.png

ponyprog2000 fuses
http://img205.imageshack.us/img205/2669/mukibi7.png
Just removing the CKDIV8 fuse should do it.
Title: Re: 50$ AVR programmer error
Post by: dfoley23 on January 12, 2010, 05:37:07 PM
I have the same issue with Avr not connecting to my Stk serial programmer, but i dont have the same options as byuri in the ponyprog2000 fuse list heres mine.
http://i786.photobucket.com/albums/yy143/sinned23/ponyprog.jpg (http://i786.photobucket.com/albums/yy143/sinned23/ponyprog.jpg)
thanks for the help