will USB_To_USART_Send_Data(&buffer_out[0], count_out);this line send the data to comport? I have comport sniffer in my pc, i can only see the device connect and disconnect via that. But I cannot see the data send from the stm board. Do I need to have another PC program running on PC to open the relative com port and receive the data? And in that while loop, when will ''count_out'' not equal to 0? and when will the board send data to usart? [ This message was edited by: macryant on 24-11-2009 08:54 ]
Do I need to have another PC program running on PC to open the relative com port and receive the data?
Yes, of course you do! Just like a real COM port - if there is no application using that COM port, then there is nothing to receive any data sent to it!