Hi all

I am trying to set the radio channel using the tool "tos-set-symbols". I 
follow these steps:

1. In Oscilloscope app I set a channel using CC2420ControlC
2. Compile with "make telosb" to generate a "main.exe"
3. Execute the following command:

tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump 
--target ihex main.exe out TOS_NODE_ID=0xfff 
CC2420ControlP\$m_channel=15 CC2420\$m_channel=15 
CC2420ControlP__m_channel=15 CC2420P__m_channel=15

Output:

Could not find symbol CC2420$m_channel in main.exe, ignoring symbol.
Could not find symbol CC2420ControlP$m_channel in main.exe, ignoring symbol.
Could not find symbol CC2420ControlP__m_channel in main.exe, ignoring 
symbol.
Could not find symbol CC2420P__m_channel in main.exe, ignoring symbol.


Only TOS_NODE_ID symbol is found. No channel related symbols appears in 
the symbol table. I have also try to include this line in the Makefile
CFLAGS+=-DCC2420_DEF_CHANNEL=24
But channel symbol won't appear in the compiled main.exe

So the question is: is there a way to set the radio channel using 
tos-set-symbols?

Best regards

-- 
Eloy Díaz

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

Reply via email to