Problem loading program on Arduino MEGA 2560 R3

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

Tried googling error with no luck so far.

ok, loopback test worked ok it seems by echoing back everything I typed in the serial monitor, but I have NO idea what this step is:

  1. Connect the terminal application to the serial port for your board. The baud rate is irrelevant.

so I ignored that.

FINALLY!!!

I had to install the Arduino MEGA 2560 driver from C:\Program Files (x86)\Arduino\drivers\Old_Arduino_Drivers\Arduino MEGA 2560 REV3.inf

Now it shows up in my Devise Manager:Ports:Arduino Mega 2560 R3 (COM6) and had to set in the sketch editor under Tools and Port to COM6

Yipee!!

I have the same issue, I found that folder and found the .inf...but how do you install it? I cant from device manager, it selects just folder level

You select the folder that it's in, and then it looks at the INF files in that folder and decides whether any of them might work.

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???

When I try that it tells me its not supported in 64bit

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?

  1. Does IDE install correctly?
  2. Once you start IDE, can you download sketches to the Arduino board?
  3. IDE does not recognize the specific Arduino board automatically. You need to tell IDE which board you are using.
  4. 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.

And nothing ive tried works.

But, I'm not going to tell you what I've tried...

I have a PC running 64 bit Win7. I have a Mega. I followed the directions on the Getting Started site EXACTLY. My Mega works just fine.

The IDE is installed and runs ok...I can program a UNO. But the 2560 never gets a com port. It sees it in device manager but as a at mega 16u2...

I followed the getting started site EXACLTY too and it still does not work. I can program the uno and zero no problem. Thanks!

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.

That's the best info Ive gotten so far..I now have something I can focus on. Thanks!!!!!!!!!!!!!!