On 25 January 2012 06:10, Xiaoyang Zhong <[email protected]> wrote:
> Do you think there is any code in tinyos folder? I may need some mapping > information of nesC code and assemble language. And do you think there is > anyway to modify this communication process? Thanks! > You'll find the CC2420 radio driver code in tos/chips/cc2420/ (or tos/chips/cc2420x if you're using rfxlink). If you want to look at asm, just "avr-objdump -d build/micaz/main.exe" - that will disassemble the full binary for you. As for following nesC wiring, simply generate the docs for your application (make micaz docs, if I remember the target correctly). That will generate nice overview graphs showing how the various components are wired (and thus, where your send() eventually chains through to). There is a lot of information available over at http://docs.tinyos.net which will be useful to you too as you traverse the TinyOS code. If you're interested in the protocol for talking to the radio chip, you should try to find a copy of the CC2420 manual - without it you won't get far in your understanding. I haven't used a CC2420 chip nor a micaz mote, so I don't know any specifics of the chip or platform. Regards, /Johny -- Johny Mattsson Senior Software Engineer DiUS Computing Pty. Ltd. *where ideas are engineered *
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
