Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Silver_79 on December 21, 2011, 02:36:50 PM

Title: The 50$ robot micro-controller.
Post by: Silver_79 on December 21, 2011, 02:36:50 PM
      I have tried to get the 50$ robot micro-controller to work now for weeks I can't get past the point where both UI's (Linux & Windows 64 bit) tell me the lil piece of crap can't connect to program. It passes the smoke test fine and AVR Studios 5 reads the 5.1V but no device ID. The one I built, like in the tutorial, and the breadboard version I made both do this. I am using the avrispmkII and it says 2 green lights are go lets do this. Then when I try to upload anything or tell the programmer to read the device it fails or when I tell it to read fuses and such it fails. The only thing it does is sets the ISP freq. to 250 kHz and read the voltage level. I so like hardware oriented CPU's like the 6800 family processors. What happened to those and why do we have these pieces of crap that can't do anything without me being a C programmer ? Ok, ok so I am a little bit tired, does the 328p need a separate boot loader when used on the 50$ micro-controller since there is no ext oscillator ?  I am going to breadboard a diff chip up and see if I can get one to do anything but sit there and mock me.

Take Care,
Don
Title: Re: The 50$ robot micro-controller.
Post by: Gertlex on December 21, 2011, 05:47:04 PM
Have  you tried AVR Studio 4? I want to say I've heard this to be a problem in the past (using v5, I mean), but couldn't find such a thread just now.

-Gert
Title: Re: The 50$ robot micro-controller.
Post by: Silver_79 on December 21, 2011, 07:26:57 PM
      Yeah I tried AVR Studios 4 twice , 5 twice also tried Linux's avrdude and Audrino suite software with no luck.
Title: Re: The 50$ robot micro-controller.
Post by: adanvasco on December 26, 2011, 07:08:51 PM
You should double check all your connections and solder points as well.
Title: Re: The 50$ robot micro-controller.
Post by: Webbot on December 27, 2011, 12:19:37 PM
Try reducing the speed of the AVRISP MKII. Seem to remember that its max speed is about one eighth of the CPU speed. For the $50 robot the default clock speed is 1MHz. So try dropping the ISP fequency down.

Quote
does the 328p need a separate boot loader when used on the 50$ micro-controller since there is no ext oscillator
Nope, you can still use the AVRISP.