troubleshooting serial communication