Toybrick

标题: 【求助】rk3399pro开发板插上USB,电脑无法识别 [打印本页]

作者: xiangbingj    时间: 2019-6-3 13:56
标题: 【求助】rk3399pro开发板插上USB,电脑无法识别
现象1:插上Type-C后,按住recovery键,官方提供的升级工具始终显示“没有发现设备”。

现象2:windows10电脑显示USB设备不正常:
设备管理器显示“未知usb设备(端口重置失败)”

现象3:开发板的Type-C连接ubuntu系统,USB也不正常。

现象4:Type-C连接主机时,RK3399PRO的串口打印如下:
toybrick@localhost ~]$ [  264.929315] fusb302 8-0022: connection has disconnected
[  264.943789] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[  264.945135] rockchip-dwc3 usb0: USB unconnected
[  269.688318] phy phy-ff770000.syscon:usb2-phy@e450.5: charger = USB_CDP_CHARGER
[  269.756388] fusb302 8-0022: CC connected in CC1 as UFP
[  269.765679] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[  269.766537] rockchip-dwc3 usb0: USB peripheral connected
[  272.687977] fusb302 8-0022: PD disabled


备注:周五还可以烧录固件的。今天在loader里面执行了如下命令后就发现USB坏了= =
=> usb
usb - USB sub-system

Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info [dev] - show available USB devices
usb test [dev] [port] [mode] - set USB 2.0 test mode
    (specify port 0 to indicate the device's upstream port)
    Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable]
usb storage - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage    devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
    to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
    from memory address `addr'
=> usb start
starting USB...
USB0:   failed to get usb phy
Port not available.
USB1:   failed to get usb phy
Port not available.
USB2:   failed to get usb phy
Port not available.
USB3:   failed to get usb phy
Port not available.
USB4:   Can't get the usbphy register address
probe failed, error -6
USB5:   Can't get the usbphy register address
probe failed, error -6
=>

求助1:官方有出现过这种问题吗?会不会是USB硬件模块坏了。
求助2:如果USB硬件没有正常,我现在该如何升级loader+boot_linux+rootfs呢。
谢谢

作者: xiangbingj    时间: 2019-6-3 16:49
按下maskrom键,进入maskrom模式;然后使用烧录工具正常烧录固件启动,现在可以使用USB正常烧录了
作者: xiangbingj    时间: 2019-6-3 17:28
不知道为何rk3399pro会把uboot的命令模式给禁用了。想用这个开发板学习一下uboot的流程





欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3