cembeddedavrwinavravrdude

Help required in WinAvr programming


i am trying to run a source code of win avr . after making the makefile when i try to send it using avrdude it is giving me error.

Please any one can help me


Solution

  • See the avrdude homepage for more information http://savannah.nongnu.org/projects/avrdude/

    Check that you are setting the correct part no, port and programmer when calling avrdude, eg:

    avrdude -p m8 -c stk200 -P lpt1 ...etc
    

    If you're using MFile to generate the Makefile, then these should be set for you. Open the generated Makefile using your editor and check the values of

    MCU
    AVRDUDE_PROGRAMMER
    AVRDUDE_PORT
    

    Make sure they correspond to your microcontroller and programmer.