I get the following error trying to load a program on Arduino MEGA 2560 R3:
avrdude: stk500v2_setparm(): failed to set parameter 0x9e
avrdude: stk500v2_command(): unknown status 0xc8
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500v2_command(): unknown status 0x01
avrdude: stk500v2_disable(): failed to leave programming mode
I've been fighting this for a week. I have windows 7 64 bit machine. And nothing ive tried works. I am getting very frustrated at using arduino products. I've tried to go into device manager and select the Arduino mega 2560 rev3 ,inf but give me a error saying it needs to be 64bit version???
I'm also finding out this board/forum is not the most 'responsive' ... many people read your post, but very few take the time to reply ... Hopefully by then you may have figured out a solution.
So, explain a bit more what exactly you are trying to do and what type of error messages are you getting?
Does IDE install correctly?
Once you start IDE, can you download sketches to the Arduino board?
IDE does not recognize the specific Arduino board automatically. You need to tell IDE which board you are using.
In some cases, especially with SERIAL devices (e.g. GPS sensor), trying to download a sketch to Arduino will cause errors. Technically, you cannot be downloading a sketch while the board is actively doing some other work.
So, what exactly are the issues you're facing?
It might be useful for you to start at the very beginning, as in the Sparkfun manual linked below.
kaptindan:
...It sees it in device manager but as a at mega 16u2...
If it is showing up in device manager as ATmega16U2, the ATmega16U2 USB-to-serial chip is probably running the Atmel factory DFU bootloader and the USB-to-serial program was not loaded on the board by the board manufacturer. You could probably either return the board and get a good one, or solve the problem yourself by using DFU or ICSP to load the USB-to-serial program on the ATmega16U2. The program is included in the IDE installation and is called Arduino-COMBINED-dfu-usbserial-atmega16u2-Mega2560-Rev3.hex.