Unable to upload sketch - Arduino mega 2560 Pro

Hi,
I wanted to upload my program to the Arduino mega 2560 Pro with the Arduino IDE.

  1. In contrast to the Mega 2560 R3 the IDE shows a different port, namely ttyUSB0 instead of something like ttyACM0.
  2. The Board section of the IDE has no Mega2560Pro, only "Arduino/Genuino Mega or Mega 2560"

When choosing "ttyUSB0" and "Mega or Mega 2560" I get the following error statements (avrdude):

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/home/richard/temp/arduino-1.8.10/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/richard/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         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
         Hardware Version: 15
         Firmware Version Master : 2.10
         Vtarget         : 0.0 V
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file "/tmp/arduino_build_637163/auswertung10.ino.hex"
avrdude: writing flash (31938 bytes):

Writing | ################################################## | 100% 4.98s

avrdude: 31938 bytes of flash written
avrdude: verifying flash memory against /tmp/arduino_build_637163/auswertung10.ino.hex:
avrdude: load data flash data from input file /tmp/arduino_build_637163/auswertung10.ino.hex:
avrdude: input file /tmp/arduino_build_637163/auswertung10.ino.hex contains 31938 bytes
avrdude: reading on-chip flash data:

Reading | ################################################Beim Hochladen des Sketches ist ein Fehler aufgetreten
## | 100% 3.85s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0d6c
         0x60 != 0xe0
avrdude: verification error; content mismatch

avrdude done.  Thank you.

Something goes wrong. But what?
Any idea?
Thanks
-richard

Hello @r_a_mueller

It appears that the 'Mega Pro' you acquired is not an official Arduino product.

This is the reason why Arduino IDE is not detecting your board.

We recommend to take a look at our official online store and only buy from us or official distributors to ensure you get genuine Arduino products.

store.arduino.cc

I know that it is not an "official" Arduino. I first worked with an Mega 2560 R3, but this Arduino is too large. One of the smaller Arduinos I'm familiar with (nano, Mini Pro) doesn't have more than one serial port, I need three of them.

No one ever used this Mega 2560 Pro?
-richard

nachoherrera:
Hello @r_a_mueller

It appears that the 'Mega Pro' you acquired is not an official Arduino product.

This is the reason why Arduino IDE is not detecting your board.

We recommend to take a look at our official online store and only buy from us or official distributors to ensure you get genuine Arduino products.

store.arduino.cc

That's plain wrong. There are plenty clones that are detected without issues or.sometimes just require a driver.

Useless comments like these don't help and can be considered spam.

Wenn in der Anzeige "USB-UART-Adapter CH340" steht, benötigst Du den passenden USB-Treiber für Dein Betriebssystem.

Sorry for German.

That's what the manufacturer/vendor (Eiechip Official Store) writes:
"Sorry my friend. We do not provide product information at the moment." Not really helpful :slight_smile:

My OS (Linux) provides the driver for CH340 in the kernel. I never needed to install a driver of that kind. The board we're speaking of has a CH340G chip.

I think the problem is not a lacking driver. The last lines of the error message (see my first post):

avrdude: verification error, first mismatch at byte 0x0d6c[color=#222222][/color]
         0x60 != 0xe0[color=#222222][/color]
avrdude: verification error; content mismatch

I think that's where the dog is buried ... (leo.org says: That's the crux of the matter)