Raspberry Arduino tyyACM0 vs tyyAMA0

Hey Guys,

I connected my RPi4B serial via usb to my Arduino UNO.

Everything worked fine with ACM0 device. After rebooting/reconnecting/update the Port switched to AMA0 and the same setup with the same code isnt working.

Moreover I have the newest Arduino AVR Boards (1.8.5) installed and get this error while verifying:

time.tools.avr-gcc.path}/bin/, automatically converted to compiler.path=/usr/bin/. Consider upgrading this core.
Archiving built core (caching) in: /tmp/arduino_cache_516397/core/core_arduino_avr_uno_fd6415caa38f88bca13ff9c0cc535b4a.a

After compiling I get this error:

An error occurred while uploading the sketch
avrdude: ser_open(): can't open device "/dev/ttyAMA0": Device or resource busy

It's so frustrating when everything is going well and the next day you take 3 steps back on subtasks that were already done...

tty as teletype

What do you see in the system logs when you plug in the device?

I have seen 3D printer and braille software claiming devices like this, hence my question.

unfortunalty i cant delete my post. i have no idea why, but the serial port in raspiberry config was turned off. now i have ttyS0 available, but its not syncing anymore..

If the issue is sloved, you can just flag the post that was most helpful as the solution (in this case your own post (#4) I guess).

1 Like

finally! after 5hours i got it, damn - - only ACM0 works

today the port randomly disappeared again. great...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.