DavidCRobertson

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: avrdude problem with MEGA2560 #22274
    DavidCRobertson
    Participant

    We did that.  It’s a standard USB cable.  It still fails.  Not sure if the Duemilanove is still functional – it lights up, flashes, etc.  But we don’t know any other way to talk to it.

    To program the Peggy2, we attach a small FTDI board to it, connect the FTDI board via USB cable to the PC, and upload the programs from the PC.
    We’ve never programmed any of these boards using any other mechanism other than a PC with a USB cable.  We weren’t aware there was any other way!
    Thanks,
    D
    in reply to: avrdude problem with MEGA2560 #22272
    DavidCRobertson
    Participant

    Thanks again Windell.  We’re doing all the things you’re asking, and doing them on both platforms.

    To be clear:  we’re taking a Mac (OSX 10.10.5) and uploading blink onto an Arduino Uno using a USB cable.  Works fine.  When we change the delay from 1000 to 100, you can clearly see that the new blink program is uploading successfully onto the Uno.
    Then we do the same thing on the Arduino Micro.  Change the Arduino IDE settings, but same computer, same USB port, same result:  uploads fine.  Works fine.
    When we switch to the Peggy2, update the Arduino IDE settings but same USB port, same computer, same port, etc., we get the error “stk500v2_ReceiveMessage(): timeout”.  Same with the SainSmart Mega2560 board.  Interestingly, when we try to upload the new blink program on the Duemilanove, it just hangs.  No error message.  
    All the above is true when we do the same tests on Windows 10.
    In both environments, we’ve uninstalled and reinstalled the Arduino IDE, we’ve installed the latest FTDI drivers, and we’ve tried with the original and the altered boards.txt file.
    Thanks in advance for any help you can provide.
    -D
    in reply to: avrdude problem with MEGA2560 #22270
    DavidCRobertson
    Participant

    Thanks Windell.

    You’re right of course about the chip – the Peggy 2.1 uses the ATmega168-20PU chip.  But we have the same problem whether we’re trying to upload to a Mega168, mega2560 or Duemilanova.  And we have the same problem when we use the Arduino IDE on a Mac or PC.

    In every case, we’re using a USB cable to transfer the code from the PC/Mac to the Arduino board.  In every case, we can transfer the code successfully to an Uno or Nano board.  In every case, we get the “avrdude: stk500v2_getsync(): timeout communicating with programmer” error message when we try to upload to a 2560, 168, or Duemilanova Arduino.  
Viewing 3 posts - 1 through 3 (of 3 total)