AN12327SW_Cannot run blhost.exe to connect the USB VCOM port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AN12327SW_Cannot run blhost.exe to connect the USB VCOM port

477 Views
yenchuntung
Contributor I

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?

Labels (2)
Tags (1)
0 Kudos
1 Reply

468 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos