USB
  Admins - Please Read

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Admins - Please Read
jones9268
New Member
posted December 21, 2004 05:50 PM     Click Here to See the Profile for jones9268   Click Here to Email jones9268     Edit/Delete Message

I posted the message below and I didn't get a satifactory answer yet.

I want to use the RTS and DTR lines as general purpose output lines that I can use to reprogram my device.

When the CP2102 is first connected to a PC these lines are logic 1.

When the VCP is opened, they fall to logic 0.

Is there a way to avoid having them go to logic 0.

The USBExpress literature seems to indicate that there is through the SI_HELD_INACTIVE option

Thank You,

Chris Jones

------------------------------

I would like to use the modem control signals of the CP2102, RTS and DTR, to reprogram the flash memory of my device.
When I open a COM port with the VCP driver, the RTS and DTR signals go active low.
I want to disable this behavior for the driver.

The USB Express development kit has a function SI_SetFlowControl that allows the control lines to be held in active with the value "SI_HELD_INACTIVE".

Does this capabilities exist in the VCP driver?


Thanks,
Chris Jones
Engenium Technologies
chrisjones@engeniumtech.com

IP: Logged

DavidM
Administrator
posted January 19, 2005 03:49 PM     Click Here to See the Profile for DavidM   Click Here to Email DavidM     Edit/Delete Message
Hi Chris,

This is the default behavior of a real com port. There is currently no way to disable this feature in the VCP driver.

David

IP: Logged

hacker
New Member
posted January 30, 2005 12:22 AM     Click Here to See the Profile for hacker     Edit/Delete Message
The default behaviour of these pins is set by the DCB Flags and the SetCommState Windows API. Set the flags to 0x80000000, call SetCommState and then Open to initialize DTR and RTS low on open.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | MCU User Forum

Have you seen our MCU Knowledge Base?


Ultimate Bulletin Board 5.47b