2023-05-02 04:20 AM - edited 2023-11-20 06:41 AM
Hello ST,
I am using STM32WB Necleo Board to test USB as VCP. my reference project is BLE_MeshLightingLPN (USB Dongle) project and same way i am implementing all libraries and modification in BLE_MeshProvsion...
CFG_USB_INTERFACE_ENABLE 1
A new VCP port appeared in Device manager with error
Did i missed anything or it need more modification to use USB as output trace....
Best Regards
Deepak
2023-05-03 09:43 AM
Hello,
When you call VCP_Init function, a null pointer is give as second parameter, instead this null pointer, give a rx buffer in parameter like this:
VCP_Init( &VcpTxBuffer[0], &VcpRxBuffer[0] );
And add:
static uint8_t VcpRxBuffer[MAX_DBG_TRACE_MSG_SIZE];
It will be corrected in the next release STM32CubeWB v1.17.0.
Best Regards