Android Things: Connect to Serial Debug Console

Linux (Ubuntu) What’s in? GNU Screen Minicom minicom one-line-command (short answer) minicom UI (long answer, detailed) GNU Screen Run in terminal sudo screen port_name 115200 See below (step 2) to find out port_name, e.g /dev/ttyUSB0. Hit Ctrl-A, then K, then Y to exit screen. Execute sudo apt-get install screen if not installed. Minicom Short answer … Read more

Cross-thread operation not valid: Control ‘textBox1’ accessed from a thread other than the thread it was created on [duplicate]

The data received in your serialPort1_DataReceived method is coming from another thread context than the UI thread, and that’s the reason you see this error. To remedy this, you will have to use a dispatcher as descibed in the MSDN article: How to: Make Thread-Safe Calls to Windows Forms Controls So instead of setting the … Read more