Hi,
All the libraries are updated, the compilation runs successfully and I can see that "Arduino Com 4" shows at the windows' device manager while the board is connected and dissapears when I disconnect the board. The on light is on at the Arduino Uno board when it is connected with the USB cable, the reset button makes the lights flash on the board when I press it. I've been uploading code to this board with another PC with no problems. But when I try to upload the code with my desktop PC to the Arduino Uno board I get this error:
Arduino:1.8.15 (Windows 7), Tarjeta:"Arduino Uno"
c:\program files (x86)\arduino\arduino-builder -dump-prefs -logger=machine -hardware c:\program files (x86)\arduino\hardware -hardware C:\Users\m\AppData\Local\Arduino15\packages -tools c:\program files (x86)\arduino\tools-builder -tools c:\program files (x86)\arduino\hardware\tools\avr -tools C:\Users\m\AppData\Local\Arduino15\packages -built-in-libraries c:\program files (x86)\arduino\libraries -libraries C:\Users\m\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0043 -ide-version=10815 -build-path C:\Users\m\AppData\Local\Temp\arduino_build_762535 -warnings=none -build-cache C:\Users\m\AppData\Local\Temp\arduino_cache_894850 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\m\Documents\Arduino\sketch_adc\sketch_adc.ino
c:\program files (x86)\arduino\arduino-builder -compile -logger=machine -hardware c:\program files (x86)\arduino\hardware -hardware C:\Users\m\AppData\Local\Arduino15\packages -tools c:\program files (x86)\arduino\tools-builder -tools c:\program files (x86)\arduino\hardware\tools\avr -tools C:\Users\m\AppData\Local\Arduino15\packages -built-in-libraries c:\program files (x86)\arduino\libraries -libraries C:\Users\m\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0043 -ide-version=10815 -build-path C:\Users\m\AppData\Local\Temp\arduino_build_762535 -warnings=none -build-cache C:\Users\m\AppData\Local\Temp\arduino_cache_894850 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\m\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\m\Documents\Arduino\sketch_adc\sketch_adc.ino
avrdude: can't open input file C:\Users\m\AppData\Local\Temp\arduino_build_762535/sketch_adc.ino.hex: No such file or directory
avrdude: read from file 'C:\Users\m\AppData\Local\Temp\arduino_build_762535/sketch_adc.ino.hex' failed
Ha ocurrido un error mientras se enviaba el sketch
(Last line reads in english: An error has occurred while the sketch was being sent)
Using the Windows' file explorer I can see sketch_adc.ino.cpp file located at:
C:\Users\m\AppData\Local\Temp\arduino_build_762535\sketch
But there is no .hex file (with the current date and time) there or at:
C:\Users\m\AppData\Local\Temp\arduino_build_762535
(the time and date in this PC are correct)
Or anywhere in my hard disk (I used the file search with the parameter: *.hex)
I am wondering why the last part of the route the IDE is looking at has a forward slash instead of a backslash...
C:\Users\m\AppData\Local\Temp\arduino_build_762535/sketch_adc.ino.hex
I have mblock installed in this PC, which integrates with the IDE, can that be causing a problem?
Many thanks
Best Regards
Marcelo