Society of Robots - Robot Forum

Software => Software => Topic started by: ekiss13 on July 29, 2009, 04:09:39 PM

Title: Need Programming Help (50$ robot)
Post by: ekiss13 on July 29, 2009, 04:09:39 PM
I'm trying to program my 50$ but when i use the "Connect to the selected Avr Programmer" button on the top bar in AVR Studio it loads for a minute then gives a message saying connect failed. I am using the AVRISP mkll. Is there something wrong with my wiring? On the programmer the green light is on. I'm a total beginner so I don't really know what to do.
Thanks.
Title: Re: Need Programming Help (50$ robot)
Post by: soldierman59 on July 31, 2009, 04:04:52 PM
Try building your code and just use ponyprog to program or burn it to your chip I also had problems with the avr studio writing after switching to use ponyprog it works great.
Title: Re: Need Programming Help (50$ robot)
Post by: apc3161 on July 31, 2009, 11:56:47 PM
When you say the green light is on, how many green lights? When everything is connected correctly, there should actually be two green lights. One signals whether the USB powering aspect is correct for the programmer. The represents everything on the AVR side. So if you only have 1 green light, that means you don't have your AVR programming header wired up correctly to the AVR.

I attached some useful files I've used before to hook it up correctly. (applies only to ATmega8 as far as I know)