Getting started with SDK example lpcxpresso55s28_dev_cdc_vcom_bm

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Getting started with SDK example lpcxpresso55s28_dev_cdc_vcom_bm

跳至解决方案
231 次查看
bainpd
Contributor II

I would appreciate help with this demo application. It supposedly echoes the input back to the output but does not in my case.

I opened a terminal to the USB device  (sudo minicom --device /dev/ttyACM0) and started the program, which printed "USB device HID generic demo", but when I type, nothing happens: no other text is printed. I added some calls to usb_echo() and they print, but input from the terminal seems to disappear.

1.  The USB cable is plugged into the "Debug Link" port.  Is that correct?

2. Where is the echoing actually performed, i.e. where do the received data end up and where are transmitted data supplied?

 

Many thanks for any help

标签 (1)
0 项奖励
1 解答
184 次查看
bainpd
Contributor II

Problem solved: I connected a second cable to P10 (without disconnecting the debug port).  Now it works fine.

在原帖中查看解决方案

0 项奖励
2 回复数
185 次查看
bainpd
Contributor II

Problem solved: I connected a second cable to P10 (without disconnecting the debug port).  Now it works fine.

0 项奖励
185 次查看
bainpd
Contributor II

It appears USB_DeviceCallback() is never getting called. 

0 项奖励