-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
area: USBUniversal Serial BusUniversal Serial BusbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
Hi,
We're experiencing issues with the USB EEM/ECM
functionality on the NXP MIMXRT1180-EVK board.
-
When building and flashing Zephyr’s network application (ECM on the CM33 core, the application fails to load after flashing. Following this, the board becomes unresponsive, and no further applications can be flashed.
-
The same problem is happening when using other USB-based applications such as
samples/subsys/usb/cdc_acm
-
On the CM7 core, the application loads successfully, but the USB stack fails to initialize.
Could you please advise on how to resolve this or suggest any troubleshooting steps?
Thanks,
Regression
- This is a regression.
Steps to reproduce
- Adding the following configuration to the project configuration:
CONFIG_USB_DEVICE_STACK=y
# Select USB Configurations
CONFIG_USB_DEVICE_NETWORK_ECM=y
#########################
# Other network-related configs:
# Networking config
CONFIG_NETWORKING=y
CONFIG_NET_INTERFACE_NAME=y
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=n
CONFIG_NET_IPV4_AUTO=n
CONFIG_NET_TCP=y
CONFIG_NET_UDP=y
CONFIG_NET_SOCKETS=y
CONFIG_ZVFS_POLL_MAX=8
CONFIG_ZVFS_OPEN_MAX=32
CONFIG_NET_DRIVERS=y
CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_LOOPBACK=y
CONFIG_NET_MGMT=y
CONFIG_NET_MGMT_EVENT=y
CONFIG_DNS_RESOLVER=y
CONFIG_ETH_DRIVER=y
CONFIG_ETH_NXP_IMX_NETC=y
CONFIG_NET_IF_MAX_IPV4_COUNT=8
CONFIG_NET_DSA=y
CONFIG_NET_DEFAULT_IF_ETHERNET=y
CONFIG_NET_MAX_CONN=16
CONFIG_NET_MAX_CONTEXTS=16
CONFIG_NET_TX_STACK_SIZE=1500
CONFIG_NET_IF_MCAST_IPV4_ADDR_COUNT=8
CONFIG_NET_BUF_DATA_SIZE=2048
CONFIG_NET_CONFIG_SETTINGS=y
CONFIG_NET_CONFIG_NEED_IPV4=y
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.100.21"
CONFIG_NET_CONFIG_INIT_TIMEOUT=120
CONFIG_NET_NATIVE=y
- Disable one USB USBphys (Only one USB Phy is supported):
zephyr_udc0: &usb1 {
status = "okay";
phy-handle = <&usbphy1>;
};
&usbphy1 {
status = "okay";
tx-d-cal = <7>;
tx-cal-45-dp-ohms = <6>;
tx-cal-45-dm-ohms = <6>;
};
zephyr_udc1: &usb2{
status = "disabled";
phy-handle = <&usbphy2>;
};
&usbphy2 {
status = "disabled";
tx-d-cal = <7>;
tx-cal-45-dp-ohms = <6>;
tx-cal-45-dm-ohms = <6>;
};
Relevant log output
Impact
Major – Severely degrades functionality; workaround is difficult or unavailable.
Environment
- OS: Linux
- Zephyr: 4.2.99
- SDK: zephyr-sdk-0.17.2
Additional Context
No response
Metadata
Metadata
Assignees
Labels
area: USBUniversal Serial BusUniversal Serial BusbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: lowLow impact/importance bugLow impact/importance bug