Part Number: AM623
Hi, TI expert!
I have a development environment for am6234, with our own evaluation board.
The software SDK version is PROCESSOR-SDK-LINUX-RT-AM62X-08.06.00.42.
I inserted the USB flash drive into USB0 in the evaluation board, and then powered on to start the evaluation board.
During the startup process, the following error occurred. How can I resolve this error?
After multiple tests, it was found that this error occurred sporadically and not every time the test was conducted.
Sometimes, the USB drive can detect it normally during testing.
My device tree configuration is as follows:
// SPDX-License-Identifier: GPL-2.0
/**
* DT overlay for usb in main domain on AM62x SK
*
* Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
*/
#include <dt-bindings/pinctrl/k3.h>
&{/} {
connector {
compatible = "gpio-usb-b-connector";
label = "micro-USB";
type = "micro";
id-gpios = <&main_gpio0 40 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&main_usb1_pins_default &extcon_usb1_gpio_id_pins_default>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
usb_con_hs: endpoint {
remote-endpoint = <&typec_hs>;
};
};
};
};
};
&main_pmx0 {
main_usb0_pins_default: main-usb0-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x0254, PIN_OUTPUT, 0) /* (C20) USB0_DRVVBUS */
>;
};
main_usb1_pins_default: main-usb1-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */
>;
};
extcon_usb1_gpio_id_pins_default: extcon-usb1-gpio-id-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x00a4, PIN_INPUT_PULLUP, 7) /* (M22) GPMC0_DIR.GPIO0_40 */
>;
};
};
&usbss0 {
ti,vbus-divider;
};
&usbss1 {
ti,vbus-divider;
};
&usb0 {
dr_mode = "host";
pinctrl-names = "default";
pinctrl-0 = <&main_usb0_pins_default>;
};
&usb1 {
#address-cells = <1>;
#size-cells = <0>;
usb-role-switch;
snps,dis_u2_susphy_quirk;
port@1 {
reg = <1>;
typec_hs: endpoint {
remote-endpoint = <&usb_con_hs>;
};
};
};
The USB drive I used for testing is shown in the link:
Regards,
Li
