Getting started with SDK example lpcxpresso55s28_dev_cdc_vcom_bm

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Getting started with SDK example lpcxpresso55s28_dev_cdc_vcom_bm

ソリューションへジャンプ
1,131件の閲覧回数
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 解決策
1,084件の閲覧回数
bainpd
Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,085件の閲覧回数
bainpd
Contributor II

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

0 件の賞賛
返信
1,085件の閲覧回数
bainpd
Contributor II

It appears USB_DeviceCallback() is never getting called. 

0 件の賞賛
返信