Hi,
I'm working for simulation by TOSSIM in TinyOS 2.X (cygwin in windows XP).
It works fine with 1000 nodes, but gives segmentation fault when more than
1000 nodes.

I have modified Makerules:
PFLAGS := -pthread $(PFLAGS)
-fnesc-nido-tosnodes=*5000*-fnesc-cfile=$(BUILDDIR)/app.c
and Makefile
CFLAGS+=-DTOSSIM_MAX_NODES=*5000*

I used a simple code to test 1024-nodes topology, it shows "segmentation
fault" after outputing "START!!". However such testing code can work fine in
1000-nodes topology. Does anyone give me some suggestions?

implementation
{
  event void Boot.booted()
  {
        dbg("TEST","START!!\n");
    call AMControl.start();
  }
  ........
}

Thanks for great help.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to