Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

hard reset USB2 stick

Avatar
Rank

Total Posts: 3

Joined 0

PM

Hello,

I've done a software using the dll to comunicate to the usb2 stick.. everything works perfect, expect when I kill the software without properly closing the usb2 stick.. next time I start the software.. the USB2 don't answer to my reset request... it's imposible to reenable the communication without removing the USB2 stick and put it in another USB port. after this, it's working well.

I read in the ant_message_protocol_and_usage document at page 55 that;
"the host should send ANT a series of 15 0’s to effectively reset the ANT..."

how can I do this?

is there another way to hard reset the USB2 stick?

thanks for your help.      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi,

If the program was closed without properly releasing the ANT USB stick then Windows will still be "holding onto it". The reset command mentioned only applies to direct communication with the ANT chip and does not apply to this case which is a USB issue.

Unplugging and replugging is the most assured and easiest way to cycle the USB connection, but there may be Windows API calls you could do to simulate this behavior. I have no personal experience with this but you may find the thread here useful (it's for Windows XP however).

Cheers