Hi,
i have made an application based in the “packetsniffer” of TKN 15.4 (located in
/opt/tinyos-2.x/apps/tests/tkn154).
That application has been installed in a micaz mote, which is connected through
serial port (that device acts as a base station).
Other devices send data frames to the base station, and i would like send the
content of the payload of that frames to the serial port.
But i’ve got the following problem:
When i create a new Queue component:
components new QueueC(message_t*, RX_QUEUE_SIZE);
By default RX_QUEUE_SIZE take a value of 10 in the “app_profile.h” of the
packetsniffer app. However, when i made my own application, if the
RX_QUEUE_SIZE take values higher than 6, it crashes (Boot.booted never is
signaled). I think that it is due to a memory problem, but i’m not sure.
To make matters help, i attach the output:
$> make micaz install,1 mib520,/dev/ttyUSB0
(....)
compiled coordinatorAppC to build/micaz/main.exe
37128 bytes in ROM
3489 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
writing TOS image
tos-set-symbols build/micaz/main.srec build/micaz/main.srec.out-1 TOS_NODE_ID=1
ActiveMessageAddressC__addr=1
Could not find symbol ActiveMessageAddressC__addr in build/micaz/main.exe,
ignoring symbol.
installing micaz binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=ff --erase --upload if=build/micaz/main.srec.out-1 --verify
Firmware Version: 1.8
Atmel AVR ATmega128 is found.
Uploading: flash
Verifying: flash
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
rm -f build/micaz/main.exe.out-1 build/micaz/main.srec.out-1
--------------------------------------------------------------------------------------------------
Any help would be very appreciated.
Thanks in advance,
Felipe.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help