Hi Cui Normally you can use it directly. UBRR0H,UBRR0L are some registers of AVR, which is the MCU of Micaz. Maybe you need to include some platform file. We tried it on Micaz before, it should be ok. http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tips#Tools_to_debug_TinyOS_programs is the instruction of how to use the debug tool. good luck.
2008/3/30 Cui Lin <[EMAIL PROTECTED]>: > Hi, > Thanks for your help. Now I'm trying to use the debug tool you > provided, but got a set of undeclared identifiers which I can't find. The > undeclared indentifiers are some registers such as UBRR0H,UBRR0L. What > should I do now? Sorry to trouble you again. > > Best wishes! > > Cui > > > > 在2008-03-30,"renjie huang" <[EMAIL PROTECTED]> 写道: > > Hi > > For TinyOS-1.x, if you want, you can use our debug tool. It is used to > print information to UART. See to attached files. > > > On 3/29/08, Cui Lin <[EMAIL PROTECTED]> wrote: > > > > Thank you for your reply, it is really helpful. > > I still want to know how can I make it in TinyOS 1.x? > > Thanks again! > > > > > > > > > > > > 2008-03-30,"renjie huang" <[EMAIL PROTECTED]> : > > > > For TinyOS2, you can use printf in :C:\tinyos\cygwin\opt\tinyos- > > 2.x\tos\lib\printf > > > > 2008/3/29 Cui Lin <[EMAIL PROTECTED]>: > > > > > Can any one tell me how can I transmit a string from micaz to PC > > > through a serial port? > > > > > > Thank you! > > > > > > Cui > > > > > > > > > ------------------------------ > > > 中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线 > > > <http://event.mail.163.com/chanel/click.htm?from=NO_26&domain=163> > > > _______________________________________________ > > > Tinyos-help mailing list > > > [email protected] > > > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > > > > > -- > > Renjie Huang > > Sensorweb Research Laboratory > > http://sensorweb.vancouver.wsu.edu/ > > Washington State University > > > > > > > > ------------------------------ > > 中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线 > > <http://event.mail.163.com/chanel/click.htm?from=NO_26&domain=163> > > > > > > -- > Renjie Huang > Sensorweb Research Laboratory > http://sensorweb.vancouver.wsu.edu/ > Washington State University > > > > ------------------------------ > 中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线 > <http://event.mail.163.com/chanel/click.htm?from=NO_26&domain=163> > -- Renjie Huang Sensorweb Research Laboratory http://sensorweb.vancouver.wsu.edu/ Washington State University
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
