All Forums
 Microsoft Windows CE
 CE Drivers
 Reading ports so many times causing lock up
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

steg80

12 Posts

Posted - 05 Sep 2008 :  03:41:22  Show Profile
Hi,

I'm using ADSSmartIO, I have the following line to read port A :

UINT nPortA = m_pAds->SIOReadPortA();

This piece of code is in a timer which runs every half a second. Continually reading the port causes our device to lock up ( BitsyX running WinCE 5.0 ). We wrote a small test application which outputs a counter each time the port is read, we got this consistantly to around 6400 times before the lock up would occur. What happened was the call to SIOReadPortA would not return.

Any ideas why reading the port continually causes our device to just lock up?

Version in header file of ADSSmartIO.h is 720020-1153x and we have the latest smartio dll installed.

Regards,
Steve

ljoy

22 Posts

Posted - 05 Sep 2008 :  10:10:27  Show Profile  Email Poster
Steve, which version of 5.0 are you using (i.e. 5.00.nn)?
Go to Top of Page

steg80

12 Posts

Posted - 08 Sep 2008 :  06:58:07  Show Profile
We are using version 5.00 downloaded for your release area.
There are no other version numbers
Go to Top of Page

ljoy

22 Posts

Posted - 08 Sep 2008 :  11:10:35  Show Profile  Email Poster
The version number is visible in the debug output. Please capture your debug output in a txt file, then zip it up and send it to Eurotech Support Group.
Go to Top of Page

steg80

12 Posts

Posted - 09 Sep 2008 :  04:29:59  Show Profile
Ok,

Just sent it now.

Regards,
Steve
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000