usb_cdc_acm: USB device not ready, drop data

Hi,

I tried the radio_test sample with the sdk 2.3.0 on a custom board. I added this to the prj.conf

CONFIG_USB_CDC_ACM=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_MANUFACTURER="SER Consulting LLC"
CONFIG_USB_DEVICE_PRODUCT="BaseBoard Thermostat"
CONFIG_USB_DEVICE_VID=0x1915
CONFIG_USB_DEVICE_PID=0x520F
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y

And this to the app.overlay

 / {
	chosen {
		zephyr,shell-uart = &cdc_acm_uart0;
	};
};

&zephyr_udc0 {
	cdc_acm_uart0: cdc_acm_uart0 {
		compatible = "zephyr,cdc-acm-uart";
	};
};

With this I had a ttyACM0 and all work like I want.

I change for the sdk 2.5.99,

I ceate a new app from the radio_test sample, and I do the same thing I did before, but I did not have the ttyACM0. So I had some stuff like
CONFIG_UART_CONSOLE=n
CONFIG_USE_SEGGER_RTT=y
CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_LOG_DEFAULT_LEVEL=3

CONFIG_LOG_MODE_DEFERRED=y
CONFIG_LOG_MODE_IMMEDIATE=y

to the prj.conf to see some log.

I saw:

<inf> usb_cdc_acm: USB device not ready, drop data

What I am missing, some thing change between the two SDK ?

How can I get my ttyACM0 ?

Related