The error "cannot get into sync" and the subsequent related ones appear when the correct serial port is not selected. Can you check and verify the correct serial port is selected. In the IDE, you can find it in Tools-> Port . In most of the cases, /dev/ttyACM3
should be selected.