Hi Eric, It uses the svn version of rfxlink, but there wasn't any big change in that recently, I think it should work with older versions too. Anyway, if you wan't to be sure, update the /tos/lib/rfxlink and /tos/chips/rf230 directories too.
Andris 2012/2/1 Eric Decker <[email protected]>: > > > 2012/2/1 András Bíró <[email protected]> >> >> Hi Sergio, >> >> I corrected a bunch of timing error on the rf212 radio with the help >> of Miklos, try updating the /tos/chips/rf212 directory from the main >> svn (http://tinyos-main.googlecode.com/svn/trunk/). > > > How independent is the rf212 stack? > > Is it reasonable to update just that part of the tree or are there > dependencies to the main SVN trunk? > >> >> >> Andris >> >> On Wed, Feb 1, 2012 at 5:55 AM, Sergio Gonzalez <[email protected]> >> wrote: >> > Hi Miklos, >> > >> > I am using the files that you sent a few months back and they work well, >> > except that the Zigbits do not issue neither software nor hardware ACKs >> > when prompted (just noticed today). I made sure to include the usual >> > Packet.clear(&msg) and PacketAcknowledgements.requestAck(&msg) before >> > sending packets, so I have no idea why this is. I have read and followed >> > advice from older posts (e.g., increasing SOFTWAREACK_TIMEOUT to 1000 or >> > even 2000, defining PACKET_LINK, etc.) with no luck. >> > >> > Any ideas? >> > >> > Thanks! >> > >> > Sergio >> > >> > >> > On 11/05/2011 11:39 PM, Miklos Maroti wrote: >> >> Hi Sergio, >> >> >> >> On Sun, Oct 30, 2011 at 9:51 PM, Sergio Gonzalez<[email protected]> >> >> wrote: >> >>> Hi Miklos, >> >>> >> >>> Thanks for your help! I was already employing the files available from >> >>> the >> >>> tinyos-contrib link that you mention. However, the IO configuration >> >>> setup >> >>> defined in those files corresponds to the physical wirings in the IRIS >> >>> mote, >> >> I have attached the files from THAT repository, so you must not have >> >> the latest version of tinyos-contrib, or using something different. >> >> >> >>> not Zigbit. So, I replaced those with the ones you forwarded and I've >> >>> got >> >>> the radio working now. Except for one line, the modifications I had >> >>> mentioned in my previous email were spot on though. So, just for the >> >>> record, >> >>> the correct ones are: >> >>> >> >>> ... >> >>> HplRF230P.PortIRQ -> IO.PortE5; >> >>> ... >> >>> SLP_TR = IO.PortB4; >> >>> RSTN = IO.PortA7; >> >>> SELN = IO.PortB0; >> >>> ... >> >>> >> >>> The line "HplRF230P.PortCLKM -> IO.PortD6;" is not needed anymore in >> >>> HplRF230C.nc >> >> Glad that it worked out for you. >> >> >> >> Best, >> >> Miklos >> >> >> >>> Thanks again! >> >>> >> >>> Sergio >> >>> >> >>> >> >>>> Hi Sergio, >> >>>> >> >>>> Look at the meshbean platform in >> >>>> >> >>>> tinyos-2.x-contrib/ethz/meshbean900/tos/platforms/meshbean/chips/rf230 >> >>>> >> >>>> I have the attached files there, and I am sure these will be good for >> >>>> your platform as well. >> >>>> >> >>>> Best, >> >>>> Miklos >> >>>> >> >>>> On Sat, Oct 29, 2011 at 4:27 AM, Sergio Gonzalez<[email protected]> >> >>>> wrote: >> >>>>> Hi Miklos, >> >>>>> >> >>>>> Thank you so much for your previous help. I ended up designing new >> >>>>> boards >> >>>>> for my custom zigbit implementation and finally got TinyOS running >> >>>>> on >> >>>>> them. >> >>>>> So far I've got LEDs blinking and serial comms (TestSerial& >> >>>>> Printf) >> >>>>> working. However, I have been unable to get the radio working. >> >>>>> >> >>>>> The only thing I've noticed so far is what appears to be an >> >>>>> incorrect pin >> >>>>> configuration in /tos/platforms/zigbit/chips/rf320/HplRF230C.nc that >> >>>>> does >> >>>>> not correspond to the presupposed internal pins connections in the >> >>>>> zigbit >> >>>>> module. The original file specifies the following configuration: >> >>>>> >> >>>>> ? ?... >> >>>>> ? ?HplRF230P.PortCLKM -> IO.PortD6; >> >>>>> ? ?HplRF230P.PortIRQ -> IO.PortD4; >> >>>>> ? ?... >> >>>>> ? ?SLP_TR = IO.PortB7; >> >>>>> ? ?RSTN = IO.PortA6; >> >>>>> ? ?SELN = IO.PortB0; >> >>>>> ? ?... >> >>>>> >> >>>>> Obviously, this configuration is intended for the IRIS mote, so I >> >>>>> changed >> >>>>> it >> >>>>> for zigbit as follows: >> >>>>> >> >>>>> ? ?... >> >>>>> ? ?HplRF230P.PortCLKM -> IO.PortB0; ? ? // PortB5<- wrong as per >> >>>>> P. >> >>>>> Sommer >> >>>>> (no?) // PortD6; >> >>>>> ? ?HplRF230P.PortIRQ -> IO.PortE5; ? ? ? ?// PortD4; >> >>>>> ? ?... >> >>>>> ? ?SLP_TR = IO.PortB4; ? ? ? ? ? ? ? ? ? ? ? ? ? // PortB7; >> >>>>> ? ?RSTN = IO.PortA7; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// PortA6; >> >>>>> ? ?SELN = IO.PortB0; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// OK! >> >>>>> >> >>>>> I don't know whether I am wrong here, and what else I am missing to >> >>>>> get >> >>>>> the >> >>>>> radio working accordingly. I would greatly appreciate your help on >> >>>>> this >> >>>>> matter! >> >>>>> >> >>>>> Best regards, >> >>>>> >> >>>>> Sergio >> >>>>> >> >>>>> >> > _______________________________________________ >> > 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 > > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
