Hi Sergio, Can you use your usual application that does not produce ACKS and on a second node run the apps/tests/rfxlink/RadioSniffer attached to a PC and run java net.tinyos.tools.DiagMsg on that. That way we will see what messages are transmitted and we will see the timing as well.
Miklos On Fri, Feb 3, 2012 at 3:28 AM, Sergio Gonzalez <[email protected]> wrote: > Hi Miklos, > > I compiled and installed RadioCountToLeds to my motes. There was no output > on the screen after running "java net.tinyos.util.DiagMsg -comm > serial@/dev/ttyUSB0:57600". I know for a fact that the serial interface is > working well because I can see the output of regular printf messages. I > tried doing the same with my test application, but got the same result. I > checked that the size of both binaries increased after defining > -DRADIO_DEBUG in my makefiles. > > As you suggested, I also returned RADIO_ALARM_MICROSEC to 1 and > RADIO_ALARM_MILLI_EXP to 10 manually. These were the original values, but I > had changed them to reflect the most recent update as per the corresponding > file in the SVN. Still no luck. > > Thanks for your help, > > Sergio > > > > On 02/02/2012 05:19 PM, Miklos Maroti wrote: >> >> Hi! >> >> It looks ok. Are you sure that your TOne clock runs at the right >> frequency of 1 MHz? Try setting your RADIO_ALARM_MICROSEC to 1 >> manually and RADIO_ALARM_MILLI_EXP to 10 manually as in the >> RadioConfig.h. >> >> Also, before you do anything, compile RadioCountToLeds or your >> application with RADIO_DEBUG defined in your makefile (you should >> observe that the application gets bigger). Then run this and connect >> it to your PC with a serial and on that run >> >> java net.tinyos.tools.DiagMsg >> >> This might print out useful information on what is failing in your setup. >> >> Best, >> Miklos >> >> On Fri, Feb 3, 2012 at 2:10 AM, Sergio Gonzalez<[email protected]> >> wrote: >>> >>> Hi Miklos, >>> >>> A copy of my RadioConfig.h file is attached. I am not running the latest >>> SVN >>> version, but I recently updated the files in both lib/rfxlink and in >>> tos/chips/rf2xx/rf230. I wonder whether the problem occurs if my zigbits' >>> clocks are uncalibrated. >>> >>> >>> Thanks for your help! >>> >>> Sergio >>> >>> >>> On 02/02/2012 03:05 PM, Miklos Maroti wrote: >>>> >>>> Hi Sergio, >>>> >>>> Can you send us your RadioConfig.h file? Is it the same as that for >>>> the IRIS? The two platforms should essentially be completely >>>> compatible, so I would like to see what causes the problems. I assume >>>> that you are running the latest SVN version. >>>> >>>> Best, >>>> Miklos >>>> > >>> Quoted text from email thread omitted _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
