Hello again,
Originally I got a permission denied, till I changed the group name/username, that was progress,
till The next upload where I got this error
charlie@OPTIPLEX-740 ~ $ /home/charlie/arduino-1.8.5/hardware/tools/avr/bin/avrdude -C/home/charlie/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyS0 -b57600 -D -Uflash:w:/tmp/arduino_build_229444/sketch_apr24a.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 11:00:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/charlie/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/home/charlie/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyS0
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
// above, truncated for brevity.
OK.. I looked in the arduino directories, there is no user configuration file.
But it seems to ignore that... and moves on to port andthen, to programmer, where it stops.
Under Tools/Programmer I selected AVR ISP Looking in the <avrdude.config> file it says:
programmer
id = "avrisp";
desc = "Atmel AVR ISP";
type = "stk500";
connection_type = serial;
... so it seems to be correct
Research online, finds a lot of VooDoo, or wishing and hoping info ..
i.e. hold reset button while uploading... remove TX wire ...switch rx-tx
set baud to 57600... all of which seem dumb, but I tried anyway with expected result. _no change.
Even here there are few solutions
I tried a "MEGA 2560 board with no other connections except the USB cable and I now ge
t Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
Archiving built core (caching) in: /tmp/arduino_cache_903156/core/core_arduino_avr_mega_cpu_atmega2560_488a79326246a1335cdfc7833b1d7440.a
Sketch uses 4590 bytes (1%) of program storage space. Maximum is 253952 bytes.
Global variables use 105 bytes (1%) of dynamic memory, leaving 8087 bytes for local variables. Maximum is 8192 bytes.
/home/charlie/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude -C/home/charlie/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf -v -patmega2560 -cwiring -P/dev/ttyS0 -b115200 -D -Uflash:w:/tmp/arduino_build_338839/sketch_apr24a.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 11:00:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/charlie/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf"
User configuration file is "/home/charlie/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyS0
Using Programmer : wiring
Overriding Baud Rate : 115200
I tried yet again with a new Uno R3 board
avrdude: Version 6.3, compiled on Jan 17 2017 at 11:00:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/charlie/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf"
User configuration file is "/home/charlie/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyS0
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
An error occurred while uploading the sketch
I even changed the USB cables twice.
OK, I have sat on a tomato, spun around 3 times, drank a cup of cold coffee while listening to
Abbey Road album played backwards while wearing a Beatles forever T shirt....recited the
third chapter of Lord of the rings while standing in the rain,.... Spelled J.R.R.Tolkien's name backwards,
( It's Sneiklotrrj )
.and it still doesn't work....
But I think I still have my sense of humor... and a desire toi fix this _)*(& thing!
Charlie