[Tinyos-host-mote-wg] Re: [Tinyos-2.0wg] CC2420 stack status

Philip Levis pal at eecs.berkeley.edu
Wed Aug 24 15:52:54 PDT 2005


I have a CC2420 stack working under 2.x for the micaZ. Transmission,  
reception, etc.

The code is pretty hacky, and so could use some cleanup. I plan on  
doing that next week, and committing the results to the repository  
then. Among other things, I want to redesign the CC2420/Platform  
boundary to be a bit easier (you have no idea how much simpler life  
became when I defined a pass-through configuration that mapped CC2420  
pin names to the micaZ pins). For example, the CC2420 code deals with  
packets that have the right length field, and it's the  
CC2420ActiveMessageP that worries about accounting for the header and  
footer. It should probably also be able to configure the addressing  
modes, so we can support multiple AM implementations above.

The issue I ran into yesterday had to do with the interrupt  
definitions in micaz/pins: as all of them were defined to be  
nonatomic, the FIFOP interrupt was nesting and blowing off the stack.  
I declared to to be atomic (i.e., leaves interrupts disabled) and now  
things work.

Phil

-------

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."

- T. S. Eliot,  'Little Gidding'

_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg


More information about the Tinyos-host-mote-wg mailing list