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.

TUSB3410 communication problem Win 7

Other Parts Discussed in Thread: TUSB3410

Normal 0 21 false false false ES X-NONE X-NONE

Hi, im using the TUSBWINVCP Driver for Windows 7 in a serial comunication to a device. The serial parameters are the following: COM4:9600,E,8,1.

The thing is that the  ReadFile (...) function fails and after that i call the ClearCommError (hPort, &dwErr, &comstat) function to get the error returning 0x0008 as the error value. 

Looking into the MSDN says as it follows:

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

|Value             |                       Meaning                                                         |

|-----------------------|--------------------------------------------------------------------------------------|

|CE_FRAME      |                                                                                      |

|0x0008                       |                       The hardware detected a framing error.        |

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

 

This same program on Windows XP using the TUSBWINVCP Driver it works great. So what could be happenning with the virtual com?¿

 

Thanks for your help

  • Hello Joaquin

     

                Could you please provide us the application that you are using? Also could you please provide more information about the SW components you use to manipulate the serial port?

     

    Regards,

    Roberto.

  • 6518.consultaBuzon.rar

    Hi Roberto

    I attached a example code of reading as used by the applicationI. This is in C.

    The device handle for serial port is a gate mailbox. This is controlled by a microcontroller (ATmega48) and and communicates with the PC through the TUSB3410.

    Thanks for your help

    Joaquin

  • Hello Joaquin, 

                As we don't have the necessary software, could you please help us to generate some more logs, I’m attaching you three  drivers:      

    WDMDriver_Debug.zip - Contains debug version of WDM driver with minimal debug messages

    WDMDriver_Release.zip - Contains release version of WDM driver (no debug output)

    WDMDriver_Debug_Additional_msgs.zip - Contains debug version of WDM driver with in depth debug messages

                      Could you please try the release version and see if the bug is reproducible, if the bug is reproducible, please use other two debug version and capture the logs. Please send us the logs so that we can analyze it a our end. 

    P.S. I’m attaching you the process to retrieve the files from the FTP directory.

     The ftp pickup directory 'koopoom' was created on 02/23/2011 10:15:00.

    The files from the dropoff area have been moved to the pickup directory and are available for 7 days.uin

     To retrieve the files from the pickup directory:

       1. Open an ftp session to ftppickup.ti.com.

             ftp ftppickup.ti.com

       2. Login with the userid 'pickup'.

             Name: pickup

       3. Enter the password.

             Password: piurh!

       4. Change directories to the pickup directory.

             ftp> cd /pub/share/koopoom

          Note: If you are using a graphical ftp client, you will not

               see the hidden pickup directory name koopoom appear

               in the file list.  You will need to use a manual

               'Change Directory' or 'CD' command to change into the

               dropoff directory.

       5. Set the file transfer mode to ascii or binary as necessary.

             ftp> bin

       6. Transfer the file.

             ftp> get <file>

       7. End the ftp session.

             ftp> quit

     The files can also be retrieved with the url:

       ftp://pickup@ftppickup.ti.com/pub/share/koopoom

     

    List of files in the pickup directory 'koopoom':

    WDMDriver_Debug_Additional_msgs_zip.zip

    WDMDriver_Debug_zip.zip

    WDMDriver_Release_zip.zip

    If its possible, could you send us your application and the issue reproduction steps? in order to reproduce the issue at our end. 

    Regards,

    Roberto.

  • Joaquin,

    To generate the logs just install the debug drivers and run the Debugview software (http://technet.microsoft.com/en-us/sysinternals/bb896647 ) and reproduce the issue.

     

    Regards,

    Roberto.