2017-11-28 01:53 AM
Hello Community,
as written in my last post
https://community.st.com/message/175475-nucleo-h743zi-problems-setting-usb-fs-device-into-operation
i try to set VCP into Operationon a Nucleo-H743ZI. Now i'm on the stage to set communication into operation.After establishing connection to Win10 'hUsbDeviceFS.dev_state' goesto 3 (USBD_STATE_CONFIGURED). This is the startpoint in my firmware totry to send data to Host. For this i'm using the usb cdc interface functionuint8_t CDC_Transmit_FS(uint8_t* Buf, uint16_t Len).
On the Host side i'm using HTerm0.8.1Beta. If i start HTerm but do not open
connection to the COM Port to H7x my software recognise this becauseCDC_Transmit_FS returns USBD_BUSY. If i open the COM Port in HTerm thenmy firmware transmit data to Host (under certain circumstances).Now i found out, if the size of data that i will be transfered islager than 24 Bytes, the HTerm tells me something like this:...can't open COM Port because of internal error
Did anyone have experience with a behavior like this?
Any Remarks?
Kind Regards
Torsten