Author Topic: interface to TI tusb3210  (Read 11617 times)

ChasinReno

  • Guest
interface to TI tusb3210
« on: May 23, 2013, 01:13:07 am »
I'm running your genericHID_50 using vb.net 2010 express with sucess, except for...

My tusb3210 only handles commands of one or two bytes at a time ( the version info is only on byte, 00) while the genericHID software sends the entire buffer(65 bytes).  I try to size the buffer to my command length which sends ok but then errors out with an error message: IO operation will not work. Most likely the file will become too long or the handle was not opened to support synchronous IO operations."  It stops on the method, "fileStreamdevicedata.Close()"

I'm an old vb programmer starting with v1.0 but have been doing VBA in MS OFFICE for the past 10 years so the new! vb is a little bit of a learning curve for me. 
I hope someone can help.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: interface to TI tusb3210
« Reply #1 on: May 24, 2013, 07:40:29 pm »
I can't check the code right now but in the meantime, a web search on the error message might turn up something.

ChasinReno

  • Guest
Re: interface to TI tusb3210
« Reply #2 on: May 24, 2013, 09:17:37 pm »
It occured to me that maybe my TUSB3210 is returning to many characters and overwhelming the input buffer.  I'm not sure what the firmware is doing since I updated to a newer version. 

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: interface to TI tusb3210
« Reply #3 on: May 27, 2013, 09:25:58 am »