Hello guys, first of all, let me say in advance that I'm a total beginner/noob with not much hability for informatics
since yesterday I'm having this problem which is taking me so much damn time
Arduino and its IDE were working perfectly, till I tried to upload a different code,
then i got an error, "Problem Uploading to the board"
I copied the error message,
tried to close and open again the IDE
reseted the arduino
connecte and disconnected the USB cable, and connected it to different USB plugs
then, i removed and installed arduino ide again
and the first time I uploaded code to it, (LED BLINK, from the Basic examples) it worked fine
the code was uploaded very quickly,
then I proceeded to try to upload a sketch for sensing heart pulse
I got the same error
now, I opened again the very same basic led blink sketch
but no success in uploading it into Arduino
I'm using ubuntu and the arduino IDE 1.8.5
using Arduino Uno.
one thing I noticed is that when i unplug the usb cable, and plug to another port on the computer,
I still see the very same port, under "Tools > Port " on the arduino
should that be so? since I plugged into another usb slot
(this happens even though I closed and opened the ide again)
I must also mention that I tried in vain, uploading sketches to the Arduino pro mini,
and I am also getting the very same error message
So, it is probably is not a problem with the board,
neither should it be a problem with the IDE, since i uninstalled and installed it again
Please give me some light
this just doesn't want to work
Thanks in advance
Jean
Below it is my error code
be warned, its very big.
Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno"
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/ivan/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/home/ivan/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
...
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.