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-TO-GPIO, Windows System Handle Count Steadily Increase

Other Parts Discussed in Thread: BQ78PL114

Hello,

I'm using USB-TO-GPIO adapter for communication over SMBus with a SBS system (manager, battery).

I wrote my self test software in c# 2.0 with VS 2010 using USB-to-GPIO API.

I doing long time test and log every seconds a lot of SBS data.

Everything is working well some hours, after that program is not responding any more (100% cpu)

I discover that windows XP SP3 handles are always increasing (task manager, show "handle" column)

Software hang after that handles are may be too high (3319340), there is enough free RAM.

Even windows explorer cannot be launched.

After killing the process, everything is ok again.

I try with the SAA_GUI software and I have the same behavior.

After each frame (read), handle count is increased and never cleared.

Questions :

- Did I do something wrong ?
I think not since SAA_GUI also have the same issue.

- Is there a solution ? windows patch, other texas dll version, ...

- Is there a more detailled API document

Best regards

Stephane

  • Which TI Device/EVM are you trying to interface with?

  • Hello DHarmon,

    I have no TI EVM board.

    I'm talking with a smart battery with BQ78PL114 chip and a TI MSP430 running as a slave.
    I can only talk to one at same time, both are not connected together, I have to change connection.

    But I think this as nothing to do with my trouble, SMBus is working well I have no frame issue (checked with an analyser).

    For the moment I don't know from where the crash is coming.

    I'm just wondering that windows handles are increasing after every access to USB-TO-GPIO, can be read, write, setup pull-up, ...

    I looks that handles are never closed.

    This also occurs with TI USB-TO-GPIO GUI software.

    Presently I'm using USB-TO-GPIO adapter for long test logging and after 6 hours my software crash.

    I don't know if other people are using this adapter like this.

    Best regards

    Stephane

  • The reason I asked which device is that the USb-to-GPIO was actaully developed by and is supported by the power management group here at TI.  So I wanted to get your thread moved to the propoer forum for support - which you will be notfified of here in the next few minutes.