Hi Anand,

On Wed, Jun 6, 2012 at 6:43 AM, S.V.R. Anand <[email protected]> wrote:
> Hi Miklos Maroti,
>
> I am using mmaroti-tinyos-b0567be distribution. After doing 'make iris
> blip' for UDPEcho application, and writing the image using avrdude, I
> see that the application is not even launching. This I confirmed by
> using Leds in the booted function. The avr-gcc compiler version is
> 4.5.1.
>
> The output of the console messages is appended below. From the messages
> I noticed that the memory usage shown is as below.
>
> compiled UDPEchoC to build/iris/main.exe
>           48650 bytes in ROM
>           10953 bytes in RAM
>
> Since Iris has 8MB RAM, could it be causing the problem ? Can you
> suggest how I can go about debugging ? I will be very happy to provide
> you with more information in this process.

Yes, indeed the 8KB RAM is definitely a problem. I never used BLIP
myself, so I do not know if it works, just made sure that it compiles
and the RF230 layer is compatible with BLIP. I have seen on
tinyos-help some discussion on how to reduce the memory requirement of
BLIP, maybe others can help with that.

Best,
Miklos

>
> Thanks
>
> Regards
> Anand
>
>
>
>
>
> ---------------------------------------------------------------------------
> mkdir -p build/iris
>
> compiling UDPEchoC to a iris binary
> ncc -o build/iris/main.exe  -Os -DRPL_ROUTING -DRPL_STORING_MODE
> -I/opt/tinyos-2.x/tos/lib/net/rpl -DBLIP_DERIVE_SHORTADDRS
> -DIN6_PREFIX=\"fec0::\" -DNEW_PRINTF_SEMANTICS -DPRINTFUART_ENABLED
> -DCC2420_HW_ACKNOWLEDGEMENTS  -DCC2420_HW_ADDRESS_RECOGNITION
> -DPACKET_LINK
> -DTOSH_DATA_LENGTH=112 -I/opt/tinyos-2.x/tos/lib/net/
> -I/opt/tinyos-2.x/tos/lib/printf/ -I/opt/tinyos-2.x/support/sdk/c/blip/
> -I/opt/tinyos-2.x/tos/lib/net/blip/
> -I/opt/tinyos-2.x/tos/lib/net/blip/interfaces/
> -I/opt/tinyos-2.x/tos/lib/net/blip/nwprog/
> -I/opt/tinyos-2.x/tos/lib/net/blip/shell/
> -I/opt/tinyos-2.x/tos/lib/net/blip/serial/
> -I/opt/tinyos-2.x/tos/lib/net/blip/platform/
> -I/opt/tinyos-2.x/tos/lib/net/blip/icmp/
> -I/opt/tinyos-2.x/tos/lib/net/blip/dhcp/
> /opt/tinyos-2.x/support/sdk/c/blip/lib6lowpan/iovec.c
> /opt/tinyos-2.x/support/sdk/c/blip/lib6lowpan/in_cksum.c
> /opt/tinyos-2.x/support/sdk/c/blip/lib6lowpan/ip_malloc.c
> /opt/tinyos-2.x/support/sdk/c/blip/lib6lowpan/utility.c
> /opt/tinyos-2.x/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
> -Ibuild/iris
> -DRF230_DEF_CHANNEL=11 -DIDENT_APPNAME=\"UDPEchoC\" -DIDENT_USERNAME=
> \"root\"
> -DIDENT_HOSTNAME=\"netarch-server.\" -DIDENT_USERHASH=0x26eeb1d9L
> -DIDENT_TIMESTAMP=0x4fcedccbL -DIDENT_UIDHASH=0x53e89c47L
> -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs,
> components)' -fnesc-dumpfile=build/iris/wiring-check.xml UDPEchoC.nc -lm
>
>
> /opt/tinyos-2.x/tos/lib/net/blip/shell/UDPShellP.nc:260: warning: call
> via function pointer
>
> /opt/tinyos-2.x/tos/lib/net/blip/Ieee154AddressP.nc:40: warning:
> `Ieee154Address.changed' called asynchronously from
> `ActiveMessageAddress.changed'
>
>    compiled UDPEchoC to build/iris/main.exe
>           48650 bytes in ROM
>           10953 bytes in RAM
> avr-objcopy --output-target=srec build/iris/main.exe
> build/iris/main.srec
> avr-objcopy --output-target=ihex build/iris/main.exe
> build/iris/main.ihex
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

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

Reply via email to