Hi
I am using the lpcxpresso55s36usb_dev_cdc_vcom_lite_bm example from the SDK examples to run USB for my application. I added a customized function in the USB_DeviceCdcAcmBulkOut callback function.
This gets perfectly executed in the debug mode. But when i power cycle the EVK board and use PUTTY to communicate to the application, the callback function is not getting called.
I am using the USBFS pins.
Please help me fix this issue.
已解决! 转到解答。
Hi @madhubanti,
What is the customized function you call under "USB_DeviceCdcAcmBulkOut"? Does the "USB_DeviceCdcAcmBulkOut" function get called, but not your function? or neither get called? When you mention that in debug mode it does occur, do you mean you step into it, or do you just let the code run and the callback gets issued?
BR,
Edwin.
I am attaching the code file with this reply.
This is the code i am running. When i select Debug as option and run, then everything works as expected. But when i power cycle the EVK and run it as standalone and access the port through PUTTY it doesn't work. Doesn't work in the sense the heartbeat function is getting executed. but when i type on the terminal the callback is not getting fired.