`fastboot devices`没有列出珊瑚开发板

时间:2019-09-03 17:58:02

标签: fastboot google-coral

我正在按照https://coral.withgoogle.com/docs/dev-board/get-started/#flash-the-board中的步骤刷新珊瑚开发板。

我可以使用串行连接,并且可以在板上的Dim osld As Slide Dim oshp As Shape Dim strMainColor As String, strSecondColor As String 'Set main color to default if users didn't enter a RGB value If MainColor.Value = "" Then strMainColor = "73, 109, 164" Else strMainColor = MainColor.Value 'Set Secondary color to default if users didn't enter a RGB value If SecondColor.Value = "" Then strSecondColor = "207, 203, 201" Else strSecondColor = SecondColor.Value For Each osld In ActivePresentation.Slides For Each oshp In osld.Shapes If Right(oshp.Name, 2) = "_1" Then 'Main Color to all slides oshp.Fill.ForeColor.RGB = "RGB(" + strMainColor + ")" oshp.Fill.BackColor.RGB = "RGB(" + strMainColor + ")" ElseIf Right(oshp.Name, 2) = "_2" Then 'Secondary Colors oshp.Fill.ForeColor.RGB = "RGB(" + strSecondColor + ")" oshp.Fill.BackColor.RGB = "RGB(" + strSecondColor + ")" End If Next oshp Next osld Dim osld As Slide Dim oshp As Shape Dim strMainColor As String, strSecondColor As String 'Set main color to default if users didn't enter a RGB value If MainColor.Value = "" Then strMainColor = "73, 109, 164" Else strMainColor = MainColor.Value 'Set Secondary color to default if users didn't enter a RGB value If SecondColor.Value = "" Then strSecondColor = "207, 203, 201" Else strSecondColor = SecondColor.Value For Each osld In ActivePresentation.Slides For Each oshp In osld.Shapes If Right(oshp.Name, 2) = "_1" Then 'Main Color to all slides oshp.Fill.ForeColor.RGB = RGB(strMainColor) oshp.Fill.BackColor.RGB = RGB(strMainColor) ElseIf Right(oshp.Name, 2) = "_2" Then 'Secondary Colors oshp.Fill.ForeColor.RGB = RGB(strSecondColor) oshp.Fill.BackColor.RGB = RGB(strSecondColor) End If Next oshp Next osld 中运行fastboot 0。但是,当我在计算机上运行u-boot时,什么也没有出现。

我在使用快速启动版本29.0.2-5738569的MacOS 10.14.6上,并且已经为MacOS安装了CP210x USB驱动程序。

4 个答案:

答案 0 :(得分:1)

我有类似的问题。这是我的建议:

  1. 串行连接珊瑚开发板,拔出开发板电源线,在Mac上打开终端并运行:

screen /dev/cu.SLAB_USBtoUART 115200

如果终端为空白,则表明它正在工作。等待几秒钟,然后转到 2 。如果它的底部显示“ No such file”,则重新安装CP210xUSB到Mac(https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)的UART桥虚拟COM端口(VCP)驱动程序,即使您之前已经安装了它。

  1. 将usb-c电源线插入开发板上,运行:

fastboot 0

如果显示“为UFP配置的USB开关”并且光标移至下一行,则拔出您的串行连接(USB-micro-B电缆),拔出 USB-C电缆连接到数据端口(OTG)。 确保开发板的电源线连接到2-3A插座而不是笔记本电脑。

  1. 在终端上运行代码:

fastboot devices

您应该能够看到以下内容:

1b0741d6f0609912 fastboot

如果没有,请检查数据端口usb-c电缆连接。并确保开发板的电源线连接到2-3A插座,而不是Labtop。

希望这会有所帮助!

答案 1 :(得分:0)

我有同样的问题。我在Mac上尝试了两条USB-C到USB-C电缆,但仍然无法识别珊瑚板。

我能够通过通过USB-C至USB-A(母)适配器将USB-C至USB-C OTG电缆替换为USB-C至USB-A电缆,使Mac能够识别它。我想知道为什么usb-c到usb-c的直电缆不起作用,但至少我知道现在是电缆问题。

答案 2 :(得分:0)

可能是您的fastboot不是最新版本。尝试从here更新。然后重复快速启动的步骤。也许您的串行控制台电缆已断开连接。希望这会有所帮助。

答案 3 :(得分:-1)

发生此问题的原因是,在运行fastboot 0之后,但在运行fastboot devices之前,您将打开一个新的终端窗口,而不是screen