0
votes

When first talking to Mini Pro everything works. First sketch uploads and runs. BUT subsequent upload attempts error out.

Have tried on two different Mini Pros. Same results.

Running on Ubuntu. Port /dev/ttyUSB0 OK - seen and permissions. Am using this connector and using this board.

Error message:

Arduino: 1.6.12 (Linux), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 30,720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
/data/arduino/arduino-1.6.12/hardware/tools/avr/bin/avrdude -C/data/arduino/arduino-1.6.12/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/tmp/arduino_build_876010/pin-blink.ino.hex:i 

avrdude: Version 6.3, compiled on Sep 12 2016 at 15:21:49
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

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

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
...
1

1 Answers

1
votes

As others suggested, there's a funky timing issue to make it work.

For my antique PC under Windows, I press reset, the Upload, count to six, and release reset. About 30% of the time this works.