Hello,
I am having an strange issue with my laptop (ASUS ZENBOOK UX310UA) where I'm not able to upload any sketches to my Arduino Duemilanove with an ATMEGA328P.
I discarded serial port issues since I can open the port and read in values and tried both on Wondows10 and Ubuntu 18.04.
The board is working since I can upload sketches using my desktop PC and it behaves as expected.
What I tried so far:
-
Ubuntu 18.04:
-
Tried uploading with IDE 1.8 from all physical usb ports (USB2 and USB3) - with and without sudo
-
Tried uploading with IDE 1.9 beta from all physical usb ports (USB2 and USB3) - with and without sudo
-
The board has nothing connected to it. (no shield not a single cable).
-
Installed Java from oracle.
-
Serial ports are seen correctly by the system (ttyUSBx).
-
Serial ports are working, can read in values and the board can read what I send to it. (using sketch compiled and uploaded on desktop PC)
-
Opening serial monitor correctly resets the arduino (tested with custom sketch).
-
Hitting the upload button on both IDEs correctly resets the arduino after compiling (tested with custom sketch).
-
I can see the serial Rx blink just once after the compilation in finished and (presumably tries to upload).
-
Tested with laptop connected to power and on battery.
-
Windows 10:
-
Tried uploading with IDE installed from windows market.
-
Tried running as user and as administrator.
-
The board has nothing connected to it. (no shield not a single cable).
-
Tried every available physical USB port (USB2 and USB3). (board is recognized successfully as a FT232R USB UART)
-
Serial ports are working, can read in values and the board can read what I send to it. (using sketch compiled and uploaded on desktop PC)
-
Opening serial monitor correctly resets the arduino (tested with custom sketch).
-
Hitting the upload button on IDE correctly resets the arduino after compiling (tested with custom sketch).
-
I can see the serial Rx blink just once after the compilation in finished and (presumably tries to upload).
-
Tested with laptop connected to power and on battery.
On both OS I get the typical error:
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
As I mentioned before the board is working, I can upload sketches with my desktop PC using Ubuntu 18.04 and IDE 1.9 beta. This way I was able to test the serial communications on my laptop which work fine (not only with Arduino but other stuff that uses ttyUSBs).
I'm really lost now. I have some questions I cant answer, like:
- can it be some kind of power issue?
- Does the ATMEGA328p requires a little more power than what the USB can provide and the laptop wont deliver?
- can I externally power my board and upload? (without using the USB to provide power)
- Is my laptop cursed?
Its a long post but I tried to describe the whole problem and to avoid making users and mods angry...
Any help will be appreciated, even knowing if this happens to anyone else will help (I want to discard a hardware problem also).
Thank you!