I use ConfigTools to add USB0 VCOM function into my LPC55S69. Then combine "dsbl" project.
I can connect the VCOM port by PuTTY or other simple tools, but cannot connect by using blhost.exe like command "blhost.exe -p COMxx,115200 get-property 1".
I found that in the callback function
"usb_status_t USB_DeviceInterface0CicVcomCallback(class_handle_t handle, uint32_t event, void *param)"
the parameter "acmReqParam->setupValue" is always 0, which makes connection fail.
How to make blhost.exe work by connecting USB VCOM port?
Hi yenchuntung
blhost needs to be supported by MCUBOOT protocol. MCUBOOT protocol is supported by LPC55S69 BOOT ROM.
LPC55S69 should run in ISP mode thus it can call MCUBOOT protocol to communicate with blhost.
Your own developed USB VCOM port can't support blhost.
Have a nice day
Jun Zhang