I've been using the MSP430F5529 for a USB design. I have a 2nd virtual COM port setup as the debug port. If I don't have a connection open to that 2nd virtual COM port the program will block until something connects and allows the buffer to empty. The easy way to solve this is to get rid of the 2nd virtual COM port. What I'd like to know is how to check if there is a connection to the 2nd virtual COM port? I'm using the USB driver library to do this. My application is based off the C3_EchoToHost example. Am I correct that the buffer is filling up and once full, blocks the application until it is able to transmit? How do I tell if there is a connection present to that specific virtual COM port?
↧