| View previous topic :: View next topic |
| Author |
Message |
HexDump
Joined: 07 Jun 2005 Posts: 70
|
Posted: Mon May 29, 2006 5:28 pm Post subject: Vtimers and eloader problem. |
|
|
Hi,
In my last emulator build i run into a weird problem: Peopple with last version of eloader got stuck at the very beginning getting an annoying black screen. After some tests, I have managed to spot the problem, I install a vtimer for syncronization that waits for a var to get to a certain value, and this value is never reached. VTimer seems to intall ok but the handler assigned to it is never called, and this is the one that increments the var that the while loop is checking.
Has anybody run into the same prob? any solutino for that?
P.D. The program runs OK on fw 1.5.
Thanks in advance,
HexDump. |
|
| Back to top |
|
 |
HexDump
Joined: 07 Jun 2005 Posts: 70
|
Posted: Mon May 29, 2006 6:31 pm Post subject: |
|
|
Well it seems that the problem is not vtimers itself. I have built a little example using vtimers basen on one of the sdk examples and everything went ok... weird... it seems a side effect that another bug is producing, but again, in fw 1.5 everything goes ok.
HexDump. |
|
| Back to top |
|
 |
HexDump
Joined: 07 Jun 2005 Posts: 70
|
Posted: Tue May 30, 2006 6:15 pm Post subject: |
|
|
I think I will use an alternative method. The way of emulating a vtimer is to create a thread that waits/sleeps for the periode time, and then calls a function?
HexDump. |
|
| Back to top |
|
 |
|