Closed arilink-tech closed 3 years ago
Are you running the application with debugger? To see where the program goes.
I tried to add breakpoints to observe in Debug mode, but unfortunately, as soon as VCOM sends data, the system will be stuck and MDK has not found the stuck position.、
I tried to upload the code here, but it failed to upload. Can you leave your email? I will communicate with you via email
The current problem has been solved. Now I can use CDC for communication normally, but a new problem appears. When I send a cumulative amount of data to VCOM greater than about 250 bytes, VCOM will fail and can no longer send data. What is the problem? ? I use H7 for the same test and there will be no such problem
I have successfully ported ThreadX and USBX to STM32F105, and USBX HID can work normally. When I try to use USBX CDC ACM, the problem occurs. There is VCOM virtualized by STM32 in the device manager of windows, but when I try to use this serial port STM32 will freeze and stop running during communication. Why is there such a problem? I do the same operation on STM32 H7 and there is no problem