Society of Robots - Robot Forum

Software => Software => Topic started by: Andrew_Waltfeld on November 25, 2009, 01:31:05 AM

Title: $50 robot , AVR programmer mkII and two green lights but not connecting.
Post by: Andrew_Waltfeld on November 25, 2009, 01:31:05 AM
So, Here is my problem:

I have the AVR programmer mkII, with the USB... fire wire, i think it is called.

edit - (sorry, the connection to the CIRCUIT board is 6 prong) -

 I'm not quite sure what to call the connection, but it looks like a fire-wire to me, tried to look it up on Google, but could not find it.

(http://img266.imageshack.us/img266/9589/img2367b.jpg)

My mini laptop recognizes the programmer and installed all drivers correctly.

(http://img33.imageshack.us/img33/1280/drivemanger.jpg)

I have two green lights on the programmer, I hooked up my motor's (no wheel's are attached yet, so it can't try to suicide off the table), and one of the photo-sensors, and as you can probably tell, i had to do some really really ghetto wiring on the circuit board. Accidentally put the micro-controller on backwards, but it works as far as i can tell with my multi-meter when i spent a hour testing each part.

(http://img141.imageshack.us/img141/9606/img2373w.jpg)

Now when i click in AVR studio four, I'm basically re-built the program etc and according to the tutorial i can now upload the program into the robot correct? When i try to connect to the robot via the USB-whatever, it says it can't connect.

As far as i can tell i followed every single step and attempted to search on the forums for my problem, even spent the time to redo the multi-metering out every strip of solder i put on there to make sure voltage was getting thru etc.

At this point, I'm not quite sure what to do as the tutorial says that since i have AVR studio four and mkII i should be able to upload now correct since i don't need to use ponyProg?
Title: Re: $50 robot , AVR programmer mkII and two green lights but not connecting.
Post by: airman00 on November 26, 2009, 08:36:25 AM
http://narobo.com/articles/avrmkII.html (http://narobo.com/articles/avrmkII.html)
I feel like your ISP frequency is bad.
Title: Re: $50 robot , AVR programmer mkII and two green lights but not connecting.
Post by: Joker94 on November 27, 2009, 05:05:43 AM
well for me, i made the hex file in avr studio and also programmed using avr studio as well. 

airman00 could be right about the frequency.
Title: Re: $50 robot , AVR programmer mkII and two green lights but not connecting.
Post by: Andrew_Waltfeld on December 02, 2009, 10:43:55 AM
http://narobo.com/articles/avrmkII.html (http://narobo.com/articles/avrmkII.html)
I feel like your ISP frequency is bad.

ISP Frequency? Well When I press connect, I don't even get that second dialog box that your link has, only the dialog box that lets you select what type of programmer you have. =/ so is that a separate dialog box I am suppose to access from somewhere else? I am assuming that isn't the case according to the link, but I want to double check.

A thought occurred to me -
Does each pin of the micro controller have to be separated? even if they aren't being used for anything? Due note that the pins are on this one are opposite, since i accidentally soldered the mirco-controller backward, so the reset pin is on the right, not left. (so 5 pin headers are on the right side of the board, 6 pin on the left.)

I tried to manage, in the time i had, but was time pressed at the time to get it done.

I don't know if you can see it quite as clearly i can, but this is the best picture i could find. The two bottom pins, of the row of 6 pins that aren't used.

I didn't bother checking the voltage on them since they aren't connected to any circuits. However, since i am new to soldering and circuit boards, will them being connected be any problem at all?

(http://img697.imageshack.us/img697/6638/img2325z.jpg)
Title: Re: $50 robot , AVR programmer mkII and two green lights but not connecting.
Post by: Miles on December 02, 2009, 11:51:17 PM
For starters i don't think you soldered in pin1 (reset) to the programing headers. I had a problem connecting the same programmer through AVR Studio but i fixed it by downloading and installing the latest version of AVR Studio. I read somewhere that i had to do that (maybe in the help section in AVR Studio)
Title: Re: $50 robot , AVR programmer mkII and two green lights but not connecting.
Post by: Proctor on June 23, 2012, 10:58:33 AM
I'm having the same problem. Two green lights but can't connect my avrisp mkii programmer to avr studios. "connection failed". IT doesnt even give me the opportunity to change the isp frequency because the second dialog box doesnt come up. I've been stuck on this problem for a week now and its driving me crazyy. Since this is my first robot I really wish I had someone to help me  :'(