Is there any introductory material re arbitration and resources? I'm reading the Boomerang/CC2420 sources to learn how UART0 is managed and I have to admit that its pretty obfuse. Why, for example, is it necessary to have 2 mechanisms? Why isnt the resource reqest/granted/release interface enough? Moteiv has a link to a resource sharing example but it doesn't include arbitration.
There is a reason behind this. I was given a DZ1611 development board and told to rehost TOSBase to it, which I did after some effort. However it has raised a new problem. On the Tmote, UART is located on USART1 and has no competitors for the resource, so the UART component has no concept of resource sharing. On DZ1611 I had to move UART to USART0. Here of course it must compete with I2C and SPI0. At the application level I made a wrapper based upon msp430resourceusart0c and only executed UARTSend.send() after the resource was granted. Trouble is, I never get the sendDone() event everything just hangs.
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
