View Full Version : URGENT: Help regarding AVR

04-20-2008, 01:39 PM

I was starting out with Robotics and thus tried to do my project with microcontrollers.
I am using Atmega 8 and following this tutorial.

and using the ICP programmer as in :

when I ran my code in Programmers Notepad (i.e. tools-> make all );
I ended with


Then I connected my Programmer to printerport .. and the other end to respective pins of atmega8 and when I hit

tools->make program

I got the following error:


can anyone tell me where am I going wrong ?

PS: another stupid question I guess ...

According to the ckt diagram the first pin of the row which has 13 pins is the pin1, keeping the row with 13 pins to the right hand side, as shown in ckt dia. right?
check out http://imageupload.com/out.php/i104568_db25.jpg

when we keep the male plug in the same position, is the Pin1 the first pin from the front side( the pin that goes into the female port) or the back side of the male port (where we solder the pins) ?

I guess I am going wrong somewhere over there ...

thanks !!

I need help .. gotta finish it today !

04-20-2008, 07:36 PM
The giveio driver is not installed -


04-20-2008, 08:33 PM
install giveio.bat found in winavr/bin

04-20-2008, 09:04 PM
The giveio driver is not installed -


downloaded Giveio.sys from somewhere on google and the it worked. Atleast the WINavr says so!

Robopath !!

04-20-2008, 09:06 PM
u didnt need to download it was available in winavr/bin

04-20-2008, 10:24 PM
u didnt need to download it was available in winavr/bin

I didnt knew that. I googled for an hour and got it. anyways .. I got it --> that's what matters!
thanx pal !!

04-21-2008, 08:41 AM
I guess I installed that ..

after tools->make program
winavr said

I wonder why it isnt working further .. ?
I applied 5v (4.5v actually) .. and poof .. nothing works !

Thanks anyways ... atleast I know my programmer works ! (Atleast I hope so .. )

any ideas .. what now ?

The tutorial says that this is the last step.
take a look at the tutorial


it says that after the 'make program' .. if no errors show up, your microcontroller is programmed. insert the AVR into the test circuit and apply 5v.

I did.

==>>Was the led not supposed to blink ?

This is what I exactly did :

* I made the ICP programmer RIGHT as on that tutorial

* since it said it an In Circuit Programmer, I made the ckt for led blinking as on the tutorial ( http://www.opend.co.za/tutorials/avrtut3.htm ) ..
* connected to the programmer pins
* applied 5v ..
* used Winavr as said over there ..
* first tools-->make all
I got:


* then tools-->make program
I got:


* closed winavr, disconnected the programmer .. and re-applied 5 v ...

I thought it would blink !

==>>do sort out !

I did tried again .. but this time I got :

http://img153.imagevenue.com/img.php?image=24820_reprogramming_no_5v_122_916lo. jpg

another attempt :

http://img189.imagevenue.com/img.php?image=24842_reprogramming_with_5v_WTF_122_ 32lo.jpg

I guess the AVR got the code .. maybe that's why it isn't accepting the code again .. or did it died?

apologies, if I sound irritated and desperate ..
but that is how I feel ...

somebody .. please .. tell me where am I ??

04-21-2008, 07:28 PM

04-21-2008, 10:27 PM
Sounds like a classic case of bad fuse bits to me. Check your fuse bits and let us know.


Debu :)