If your app does not use the radio stack, the symbol ActiveMessageAddressC$addr will not be present in the binary. This is the case, for example, with the Blink app. Once you compile in the radio stack (wire against AMSender or ActiveMessageC), the error message will go away.
tos-set-symbols in TinyOS 2.0.2 fails with avr-gcc 4.1.2 when there is no data segment in the compiled binary. This bug has been fixed in TinyOS 2.1. You can keep using TinyOS 2.0.2, just make sure you don't give "make mica2 reinstall" a nodeid if you don't use the radio stack. Alternatively, you can upgrade to TinyOS 2.1. Janos On Wed, May 6, 2009 at 2:54 PM, ibrahim halil uzun <[email protected]> wrote: > marc: > yes i know make mica2 command,first i ve done it, > tomorrow i ll try your command at school, > but ihave written > make mica2 reinstall mib510,/dev/ttyUSB0 is working , > i have 4 motes so i need id, > > janos: > i am using tinyos-2.0.2,xubuntos 7.04 > > 2009/5/6 Janos Sallai <[email protected]> >> >> What TinyOS version do you use? I believe we fixed this in 2.1. >> >> Janos >> >> On Wed, May 6, 2009 at 9:53 AM, ibrahim halil uzun >> <[email protected]> wrote: >> > I want to compile with node id >> > i am wrtiting >> > make mica2 reinstall.0 mib510,/dev/ttyUSB0 >> > >> > gives this error >> > >> > tos-set-symbols build/mica2/main.srec build/mica2/main. srec.out-0 > >> > TOS_NODE_ID=0 ActiveMessageAddressC$addr=0 >> > could not find dta section inbuild7mica2/main.exe aborting >> > make:***[setid] error 255 >> > >> > >> > -- >> > Ibrahim Halil UZUN >> > >> > _______________________________________________ >> > Tinyos-help mailing list >> > [email protected] >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > > -- > Ibrahim Halil UZUN > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
