New genuine Genuino Mega 2560: write error

New genuine Genuino Mega 2560, bought from a outherized reseller in Sweden (Lawicel)
Windows 10-64 bit
IDE: 1.6.8
Recognized in the IDE as a "Arduino/Genuino Mega or Mega256, ATmega2560 (Mega 2560) on COM4"
No errors in the devicemanager
The USB-cable has no problem connectiong to my printer, but really, who ever need paper :slight_smile:
When i connect the cable to my Mega, the green led turns on, and the orange LED starts blinking
The first time i try to upload i see a faint green blink on TX and RX,
(The setup has no problem compiling a Pro Trinket using FDDI)
Ive tryed several USB-ports
Ive tryed to update the inf frpm github
i have nothing else connected to the Mega
I have measured the 5V on the board, and it is 5.01V

This is the error, after turning on error-verbose: (and i really dont know how to contiue):

Sketch uses 1 554 bytes (0%) of program storage space. Maximum is 253 952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8 183 bytes for local variables. Maximum is 8 192 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM4 -b115200 -D -Uflash:w:T:\TEMP\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.hex:i 

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM4
         Using Programmer              : wiring
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Wiring
         Description     : Wiring
         Programmer Model: AVRISP
avrdude: ser_send(): write error: sorry no info avail

(sorry for my bad english, i'm swedish)

Do you have the right serial port selected in the tools -> port menu?

Yes, the same as is identified in the devicemanager

Is it important what you choose under the menu "Programmer", and if so, that is the right choise ?

No, it does not matter what programmer you have selected when you upload via a USB connector on a typical Arduino. The programmer selection is just used for burning a bootloader with an external programmer device.

Things to try:
Try a different version of the Arduino IDE, such as 1.6.5 or 1.6.6
Try a different computer if possible
Try a different USB cable
Do the loopback test (one of the pinned posts at the top of the Installation and Troubleshooting forum)

I strongly suspect IDE 1.6.8 is causing your problem.

Welcome to the forum. Your English is great.

OK
I went to my neighbour, tested the cable and card on his old win7-32, worked just fine, tryed his win10-32 and it allso worked fine
Something is wrong with my rigg ... thats to bad ...

Time to rethink:
instead of connecting the cable to my USB2.0-hub i connected the cable to my computers front USB (3.0), but same error, then tried the rear motherboard USB2.0 ... and EUREKA !!

avrdude: verifying ...
avrdude: 1554 bytes of flash verified
avrdude done.  Thank you.

\o/

That is good thinking!

Nice to go from "Maximum is 28,672 bytes" to "Maximum is 253,952 bytes"

I2C-grafics, here i come :slight_smile: