On Jul 9, 2007, at 5:01 PM, roberto pagliari wrote:

Hi All,
I tried to run this simply code...

   TOS_Msg message;
   uint16_t jump_v[LEVELS];

// some code
     StdControl.start() {
      value = jump_v[80];

      pack = (struct time_msg*)message.data;
      pack->time = interval;

call SendMsg.send(TOS_UART_ADDR, sizeof(struct time_msg), &message);
// etc


when try to alloc LEVELS=10000 uint16_t, the mote does not send the message through the UART. Instead, if I use LEVELS=100, for instance, it works correctly. Does anyone know the reason of that?


Nodes typically have 4-10K of RAM. If you try to allocate 20K, it's bound to fail...

Phil

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to