When we used a mote similar to the iris (Meshbean) we had a comparable error. The problem was that the ip-driver sends to the basestation the command to reset. As soon as this one got the command, it stopped working and the ip-driver couldn't connect to the basestation. The background is that the AtMega1281 processor uses a different Watchdog Timer than its predecessor and is still activated after restarting the processor, thus the mote continuously resets.
Workarounds are to change how the watchdog timer works, or (for testing) to deactivate the reset of the basestation in the BaseStationP.nc file (line 431). Nonetheless, I don't know if the deactivation of the reset may have some other impacts. May it helps. Best, Lars On Wed, Apr 21, 2010 at 9:59 PM, David Li <[email protected]> wrote: > That's exact the same problem I have been facing with ip-driver. Don't > know if anyone has spent time on it. > > David > > > On Wed, Apr 21, 2010 at 6:23 PM, bouakkaz issam <[email protected]>wrote: > >> Thanks Miklos; >> >> I did the update and it working, but still have an error on the ip-driver. >> Did you know if it is working on iris ? >> >> When I try to make this : sudo driver/ip-driver /dev/ttyUSB1 iris >> >> I got this : >> >> ------------------------------------------------------------------------------------------------------ >> 2010-04-21T18:09:02.569PST: INFO: Read config from 'serial_tun.conf' >> 2010-04-21T18:09:02.570PST: INFO: Using channel 15 >> 2010-04-21T18:09:02.570PST: INFO: Retries: 5 >> 2010-04-21T18:09:02.570PST: INFO: telnet console server running on port >> 6106 >> 2010-04-21T18:09:02.572PST: INFO: created tun device: tun0 >> 2010-04-21T18:09:09.547PST: FATAL: configuring interface failed! >> aborting! >> >> --------------------------------------------------------------------------------------------------------------- >> >> Did some one resolve this problem on iris ? if yes it will be great to >> explain me how did you do to resolve it. >> >> Best Regards >> >> ------------------------------ >> *From:* Miklos Maroti <[email protected]> >> *To:* bouakkaz issam <[email protected]> >> *Cc:* [email protected]; >> [email protected] >> *Sent:* Thu, April 22, 2010 1:26:33 AM >> *Subject:* [blip-users] Re: [Tinyos-help] Iris problem on IPBaseStation >> >> You should update to the latest CVS. Even though it will compile, I do >> not know if people have success using it. Miklos >> >> On Thu, Apr 22, 2010 at 2:17 AM, bouakkaz issam <[email protected]> >> wrote: >> > Hey all; >> > >> > Did any one face the same problem as me in IPBaseStation with iris mote >> , >> > because till now I can't compile this : make iris blip install >> > mib520,/dev/ttyUSB0 >> > >> > I have errors , so if some one face the same errors and solve it please >> let >> > me know how. >> > >> > This is the errors I get : >> > >> > mkdir -p build/iris >> > compiling BaseStationC to a iris binary >> > ncc -o build/iris/main.exe -Os -DPACKET_LINK -DDEF_MEMCPY >> -DENABLE_SPI0_DMA >> > -DBLIP_MULTICAST -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102 >> > -I/opt/tinyos-2.1.1/tos/lib/net/ >> > -I/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/ >> > -I/opt/tinyos-2.1.1/support/sdk/c/blip/libtcp/ >> > -I/opt/tinyos-2.1.1/tos/lib/net/blip/ >> > -I/opt/tinyos-2.1.1/tos/lib/net/blip/interfaces/ >> > -I/opt/tinyos-2.1.1/tos/lib/net/blip/nwprog/ >> > -I/opt/tinyos-2.1.1/tos/lib/net/blip/shell/ >> > -I/opt/tinyos-2.1.1/tos/lib/net/blip/serial/ >> > -I/opt/tinyos-2.1.1/tos/lib/net/blip/platform/ >> > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpan.c >> > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpanIP.c >> > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/lib6lowpanFrag.c >> > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/in_cksum.c >> > /opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan/ip_malloc.c >> > /opt/tinyos-2.1.1/tos/lib/net/blip/table.c -fnesc-separator=__ -Wall >> > -Wshadow -Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c >> -board=micasb >> > -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 >> > -DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED -DIDENT_APPNAME=\"BaseStationC\" >> > -DIDENT_USERNAME=\"issam\" -DIDENT_HOSTNAME=\"ubuntu\" >> > -DIDENT_USERHASH=0x89a3a792L -DIDENT_TIMESTAMP=0x4bcf92beL >> > -DIDENT_UIDHASH=0x9fb800d7L -fnesc-dump=wiring >> > -fnesc-dump='interfaces(!abstract())' >> -fnesc-dump='referenced(interfacedefs, >> > components)' -fnesc-dumpfile=build/iris/wiring-check.xml >> BaseStationC.nc <http://basestationc.nc/> -lm >> > In file included from >> > /opt/tinyos-2.1.1/tos/lib/serial/Serial802_15_4C.nc:43, >> > from BaseStationC.nc:102: >> > In component `SerialPacketInfo802_15_4P': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In >> function >> > `Info.offset': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38: >> > `cc2420_header_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38: (Each >> > undeclared identifier is reported only once >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38: for >> each >> > function it appears in.) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In >> function >> > `Info.dataLinkLength': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41: >> > `cc2420_header_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41: >> > `cc2420_footer_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In >> function >> > `Info.upperLength': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44: >> > `cc2420_header_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44: >> > `cc2420_footer_t' undeclared (first use in this function) >> > In component `BaseStationC': >> > BaseStationC.nc: At top level: >> > BaseStationC.nc:137: no match >> > make: *** [exe0] Error 1 >> > >> > >> > >> > _______________________________________________ >> > Tinyos-help mailing list >> > [email protected] >> > >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > >> >> >> > > > -- > Regards, > > - David >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
