Can't use Serial debug console on Raspberry pi 3B Android Things

被刻印的时光 ゝ 提交于 2019-12-13 10:24:02

问题


I am trying to connect my Raspberry pi 3B which has Android Things installed to my PC using the Serial debug cable. I connected it as instructed Here and followed the below steps using PUTTY on Windows 10.

N.B: Same issue is with the Android Emteria version for Raspberry pi 3B.

All I get is an empty console window, which I can't even type into. The device is not seen either in Android studio or using the ADB tool

I am not sure about which Com to use, here's my device manager:


Note

I am able to connect the device using Wifi, and ADB using this command:

adb connect <ip address>

and I install apps normally and they work fine using Android Studio.


Now, I want to make the Serial debug method work, and will it allow me to run my apps from Android studio + see the Logcat logs? Plz review my above mentioned steps and tell me if I am missing something.


回答1:


From your device manager, it looks like the driver for your serial cable may not be installed correctly.

Assuming you are using the recommended cable from Adafruit, you need to install the proper drivers for Windows. Try downloading the Silicon Labs drivers (http://www.silabs.com/Support%20Documents/Software/CP210x_Windows_Drivers.zip) and installing those. You may need to restart your computer to complete the installation.

Otherwise, if it's a Cypress cable, you may need to update the Cypress UCM Client Peripheral Driver that your device manager is showing an error on. Right click on that and select update driver.

Once your serial cable is installed properly and recognized by Windows, you should be able to connect to your Pi as instructed.



来源:https://stackoverflow.com/questions/56024054/cant-use-serial-debug-console-on-raspberry-pi-3b-android-things

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!