Reply
Posts: 22
Registered: ‎03-29-2017

Option to invert serial control lines in VCP driver?

I'm currently dealing with a problem trying to flash new firmware to a MSPG2553 microprocessor using TI's software and the CP2102.  Unfortunately, the TI software (BSLDEMO2) has the DTR line inverted from what it needs to be.  And there appear to be a number of similar cases that show up on search and affect all USB-to-serial adapters in various applications.

 

Anyway, I just wondered if any thought had been given to including in the VCP driver a setting for inverting each of the lines.  I assume that facility is not there now, nor is there any value in the CP2102's EEPROM that would let me configure inversion when needed.

 

Highlighted
Posts: 2,198
Registered: ‎10-14-2014

Re: Option to invert serial control lines in VCP driver?

AFAIK this (DTR inversion) could not be abtained by OTP configuration.
WeiguoLu
Posts: 79
Registered: ‎10-06-2014

Re: Option to invert serial control lines in VCP driver?

The serial interface does support manually controlling the DTR signal.  If you can write your own application to flash the firmware you can set the DTR high/low as needed with EscapeCommFunction().

 

https://msdn.microsoft.com/en-us/library/windows/desktop/aa363214(v=vs.85).aspx

 

https://msdn.microsoft.com/en-us/windows/hardware/drivers/serports/serial-i-o-request-interface

 

https://msdn.microsoft.com/en-us/library/windows/desktop/aa363254(v=vs.85).aspx