Hi Miklos, Sorry for my late reply. i had a chance to try your test code several times, but the leds never toggled, which means ArbiterInfo.inUse() == true, it never turns out to be false! Then the overall code is the same as in rev1.10. But my network works quite well ! I did not come accross with any sudden disconnection problem that i mentioned in my first e-mail. That's so weird, isn't it? When I use rev.1.9, the problem occurs again. Anyhow, i noticed that the new rev.1.11 on the CVS, it seems to work for now, Thanks you very much Miklos, Regards, -- Akif
On Mon, Aug 31, 2009 at 2:57 PM, Miklos Maroti <[email protected]>wrote: > Dear Mehmet, > > I could not figure out the proper source of the problem, but I suspect > that the SPI bus is not acquired when the CC2420 driver wants to use > it. Unfortunately the code paths are rather convoluted, so I cannot be > sure. I have written and attached a simple test case which checks for > this condition (toggles all LEDs when an SPI write access is attempted > without the resource being acquired). Could you please modify your > files and these these to verify my assumption? Please let me know if > you see unusual blinking of leds when you run your program. > > Miklos > > On Wed, Aug 26, 2009 at 12:38 PM, Mehmet Akif > Antepli<[email protected]> wrote: > > Thanks for your reply Miklos, > > > > I'll be waiting for your fix. > > > > -- > > Mehmet Akif Antepli > > > > On Wed, Aug 26, 2009 at 1:01 PM, Miklos Maroti <[email protected] > > > > wrote: > >> > >> Hi Mehmet, > >> > >> Not yet, I am currently abroad. I will have to look into this, but I > >> know what the problem is: some code for the MicaZ (probably CC2420 > >> specific) assumes that it is the only user of the SPI bus and does not > >> sets its SaveSelect line manually. I will just have to find where. > >> > >> Miklos > >> > >> On Wed, Aug 26, 2009 at 11:58 AM, Mehmet Akif > >> Antepli<[email protected]> wrote: > >> > Hi Miklos, > >> > > >> > Did you have a chance to look for what's wrong (if there is any) in > >> > Atm128SpiP.nc ? > >> > > >> > -- > >> > Mehmet Akif Antepli > >> > On Tue, Aug 25, 2009 at 11:21 AM, Mehmet Akif Antepli > >> > <[email protected]> wrote: > >> >> > >> >> Hi Miklos, > >> >> > >> >> I am using micaz motes and XubunTOS-2.1. > >> >> > >> >> On Tue, Aug 25, 2009 at 10:55 AM, Miklos Maroti > >> >> <[email protected]> > >> >> wrote: > >> >>> > >> >>> Dear Mehmet, > >> >>> > >> >>> What platform are you using? > >> >>> > >> >>> Miklos > >> >>> > >> >>> On Mon, Aug 24, 2009 at 6:02 PM, Philip Levis<[email protected]> > >> >>> wrote: > >> >>> > It looks like you made this change. Can you take a look? > >> >>> > Phil > >> >>> > > >> >>> > Begin forwarded message: > >> >>> > > >> >>> > From: Mehmet Akif Antepli <[email protected]> > >> >>> > Date: August 15, 2009 9:05:58 AM PDT > >> >>> > To: Tinyos-Help <[email protected]> > >> >>> > Subject: [Tinyos-help] Atm128SpiP.nc Rev. 1.10 > >> >>> > Hi, > >> >>> > > >> >>> > I have updated my tinyos-2.1.0 tree from the CVS. But there seems > to > >> >>> > be > >> >>> > a > >> >>> > problem with Atm128SpiP.nc rev.1.10. > >> >>> > > >> >>> > I am using CTP to form a multihop network. Before update of > >> >>> > Atm128SpiP, > >> >>> > i > >> >>> > was using rev.1.9. and the network has been forming. > >> >>> > After code update packets can't be delivered to root node. All the > >> >>> > connections are lost soon after i reset the network. > >> >>> > > >> >>> > The following line is commented out in the rev.1.10 > >> >>> > call Spi.enableSpi(TRUE); > >> >>> > > >> >>> > When i enable this line, network is running normally. > >> >>> > > >> >>> > I could't figure it out!. > >> >>> > > >> >>> > Any suggestions? > >> >>> > -- > >> >>> > Mehmet Akif Antepli > >> >>> > Grad. Student > >> >>> > Dept. of EEE > >> >>> > Middle East Technical University > >> >>> > > >> >>> > _______________________________________________ > >> >>> > Tinyos-help mailing list > >> >>> > [email protected] > >> >>> > > >> >>> > > >> >>> > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > >> >>> > > >> > > >> > > > > > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
