Go Down

Topic: Trying to use avrdude but error occurs (Read 988 times) previous topic - next topic


I'm trying to use avrdude to upload an assembly file (.hex) to my arduino mega 2560, but a very strange error occurs.

I type this on the command line:

avrdude -p m2560 -c stk500 -e -U flash:w:myfile.hex

and I get this error:

error at C:\WinAVR-2100110\bin\avrdude.conf:320 unrecognized character "a"

What is this?


What does line 320 of C:\WinAVR-2100110\bin\avrdude.conf look like?


Code: [Select]
  id    = "arduino";
  desc  = "Arduino";
  type  = arduino;

Line 320 is type = arduino;

I really need this to work, and I've spent about 3 hours today trying to figure out why it's not working.

Coding Badly


Feb 19, 2011, 07:53 pm Last Edit: Feb 19, 2011, 07:57 pm by Tinito16 Reason: 1

Version 5.4

Go Up