You are not logged in.

#1 2025-07-29 17:18

Armbroke
Member
Registered: 2025-07-10
Posts: 25

installed Arduino not fully functional

Hi all,
Need help with Arduino. It seems to be properly installed, I can load sketches, and they compile, but when uploading
it says "avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00 programmer not responding". My chip is a Nano, I have tried both
Atmega 328p and "Old bootloader". As for port it says "/dev/ttyUSB0" (only alternative).
I realize its probably some kind of communication error, but just can not find it.
Appreciate any ideas
/Peter

Offline

#2 2025-07-29 19:12

josek
Member
Registered: 2025-02-23
Posts: 75

Re: installed Arduino not fully functional

Run these commands to see the problem causing this error:

bash
dmesg | grep tty
______________________________________________-
bash
lsusb

_______________________________________________________________
bash
ls -l /dev/ttyUSB0

If the previous steps don't provide a clear clue, you can try talking directly to the serial port. This is more to confirm if the port is functional and accessible, not to simulate an Arduino upload.

screen or minicom:
These are serial terminal tools.
could try opening the port at the baud rate used by the bootloader (e.g., 115200 or 57600 for "Old Bootloader")

bash
sudo screen /dev/ttyUSB0 115200

I hope it helps you

Last edited by josek (2025-07-29 19:13)

Offline

#3 2025-07-29 22:00

Armbroke
Member
Registered: 2025-07-10
Posts: 25

Re: installed Arduino not fully functional

Many thanks, my keyboard lacks the vertical bar in your first code, but the second one solved it !
Will the port be opened from now on, or must I open it again ?
This raises another question, does this mean Linux ports have to be opened "manually" or is it specifically
Arduino that cant do that ?  For instance, a USB drive is recognized on sight, almost, and opened right away; I sincerely hope
this is the normal way....
Anyway, thank you
/Peter

Offline

#4 Yesterday 07:42

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 640

Re: installed Arduino not fully functional

Do you mean that after having run the `lsusb` command in a terminal you have been able to upload your sketch to your Arduino board?

I searched the web for you error message and found this discussion on Arduino forum. Too long to make a copy/paste here.

I am using the Arduino IDE installed from Q4OS 4 repositories (version 1.8.13) with an Arduino uno board, which is automatically detected by the IDE and automatically connected to /dev/ttyACM0.

Try also to use the power supply for your board if you don't already.


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

Board footer

Powered by FluxBB