Re: [Tinyos-help] Re: Problem with timers in TOSSIM 2.0.1

2007-04-30 Thread Romain Thouvenin
On 4/27/07, Philip Levis <[EMAIL PROTECTED]> wrote: I found the bug. Somehow, a checkin was lost when cutting the RPM. The bug is in tos/chips/atm128/atm128_sim.h; this is the fix: 22,23c22,23 < #define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr) + 0x20) < #define _SFR_IO16(io_addr) _MMIO_WORD((io_

Re: [Tinyos-help] Re: Problem with timers in TOSSIM 2.0.1

2007-04-27 Thread Philip Levis
On Apr 26, 2007, at 9:44 AM, Philip Levis wrote: After investigating the tossim and tinyOS code, I found new clues. I still don't understand what's going on, but it may be related to a change in VirtualizeTimerC. I have a component that uses a Timer array, wired to VirtualizeTimerC. I wire

Re: [Tinyos-help] Re: Problem with timers in TOSSIM 2.0.1

2007-04-26 Thread Philip Levis
On Apr 26, 2007, at 9:00 AM, Romain Thouvenin wrote: On 4/26/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 26, 2007, at 4:53 AM, Romain Thouvenin wrote: > > I forgot to say: it looks like the delete timer (or something else) > block the event queue. I have to wait quite a long time before

Re: [Tinyos-help] Re: Problem with timers in TOSSIM 2.0.1

2007-04-26 Thread Romain Thouvenin
On 4/26/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 26, 2007, at 4:53 AM, Romain Thouvenin wrote: > > I forgot to say: it looks like the delete timer (or something else) > block the event queue. I have to wait quite a long time before the > delete timer is fired, and then the other events

Re: [Tinyos-help] Re: Problem with timers in TOSSIM 2.0.1

2007-04-26 Thread Philip Levis
On Apr 26, 2007, at 4:53 AM, Romain Thouvenin wrote: I forgot to say: it looks like the delete timer (or something else) block the event queue. I have to wait quite a long time before the delete timer is fired, and then the other events are executed normally, including the retry timer firing.

[Tinyos-help] Re: Problem with timers in TOSSIM 2.0.1

2007-04-26 Thread Romain Thouvenin
On 4/26/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote: Hello, I updated TinyOS to 2.0.1 this week-end, and now I am trying to use TOSSIM. The new network simulation seems to work, but I have a problem with timers. This happens in a routing component: The application wants to send a message, b