This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB Issue with MSP430F6632

Other Parts Discussed in Thread: MSP430F6632

Hi,

 I have an problem.

I connect MSP430F6632 to computer using USB cable in VCOM mode, the device connect to computer as VCOM device,Then i try to connect as serial device using docklight or teraterm or hyperterminal then i am able to connect 

but if i left the port open (connection made by hyperterminal softwares ) and restrart the device and try to connect then i am not able to connect to the device (docklight give 'Invalid port number' , teraterm doesnt shows that port at all but in windows we can see the device being connected)

1) what could be the reason behind this?

2) How can we solve this issue.?

3) Is this a windows issue or something we can do so that we can detect the device as fresh device everytime we connect to computer (uninstalling the old *.inf file

and installing new *.inf file)

 I have used MSP430USBDevleopersPackage_3_20_00 to make device use as CDC.

  • Ajit Shrivastava said:

    but if i left the port open (connection made by hyperterminal softwares ) and restrart the device and try to connect then i am not able to connect to the device (docklight give 'Invalid port number' , teraterm doesnt shows that port at all but in windows we can see the device being connected)

    1) what could be the reason behind this?

    2) How can we solve this issue.?

    3) Is this a windows issue or something we can do so that we can detect the device as fresh device everytime we connect to computer (uninstalling the old *.inf file

    and installing new *.inf file)

    This is normal behavior. After your device is enumerated, and port is opened, after job is done port must be closed.

    If port is not closed (resources are not released) it will not be able to enumarate device again for using same port (because it's not free).

  • Hi soli,

      Is It possible to configure the MSP430F6632  so that it can use next free port to enumerate if the port it has enumerate last time is already opened because port is opened by windows application we can not close it from the device?

    Thanks 

  • When CDC device is connected first time to PC, it will enumerate and Win32 will ask for drivers (with correct VID/PID). When drivers are installed, (next free) COM port will be assign to device. Every time when device is connected it will use same COM port, that was assign at installation. If there is some problem with that COM port, device will not run.

    Forcing device to use another COM port, AFAIK can be done only by reinstalling device. For inspection and removal used COM port under Win32 can be used USBDeview or something like this.

**Attention** This is a public forum