Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?
On Jun 18, 2006, at 2:10 PM, Philip Levis wrote: You can use gdb; the tutorial goes into this. The one annoying part is nesC's name mangling when combined with generic components. It means that you have to do things like My apologies: I miswrote. I had thought that I'd included a section on gdb when I originally wrote the tutorial, but it looks like I somehow lost it. I've just checked in an updated version of the tutorial (now lesson11.html) which includes a few paragraphs on how to use gdb. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?
On Jun 15, 2006, at 7:35 AM, Cormac Duffy wrote: dont understand how tossim is working yet, the best I can work out is that you compile with make micaz sim and in the ./build/micaz/ directory are some object files, and a few python files in the application directory. is it possible to use the new tossim with gdb? so i can step though app and find problems with code before uploading?? is there any documentation written on the subject yet? (i appreciate tinyos2.x is still in beta stage) There is a tutorial, in doc/html/tutorial. Are you working from CVS or from the beta RPM? The former has a great deal more functionality than the latter. You can use gdb; the tutorial goes into this. The one annoying part is nesC's name mangling when combined with generic components. It means that you have to do things like break *ForwardingEngineP$0$SubSend$sendDone (the 0 is because ForwardingEngineP is a generic). Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?
On 6/16/06, Cormac Duffy <[EMAIL PROTECTED]> wrote: you should get all tossim files you need from the rpm, the cvs doesnt have any tinyos 2.x code cause its still in a beta stage i guess, so only those directly developing with it have all access to code (to the best of my knowledge but could be wrong) It's on a branch, as cvs log will readily show you ;-) It should be moving to the trunk soon. David Gay ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?
you should get all tossim files you need from the rpm, the cvs doesnt have any tinyos 2.x code cause its still in a beta stage i guess, so only those directly developing with it have all access to code (to the best of my knowledge but could be wrong) cormac >> >> If you download the latest code from the dev branch of tinyos-2.x. You >> should find a >> >Where can I find the latest code? Is the rpm the latest code, or any code on >cvs. I found no tinyos-2.x code on the sourceforge cvs server. >tutorial under tinyos-2.x/docs/html/tutorial/lesson-t.html. Not sure if >this >> tutorial is >> >I installed the rpm but could not find any relevant doc. However I found >some tinyos-2.x doc at http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson[1-5].html but none of them talks about tossim. Any idea where I can find the doc you >referred >to? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?
>From the cvs you need to get the code from the branch with label tinyos-2_0_devel-BRANCH. And you should find the tutorial under docs/html/tutorial/lesson-t.html. Although I am not sure how stable this branch is since it is the dev branch for tinyos-2.x . You could work of the beta-rel3 branch and get the tutorial from the dev branch. Thanks, AvinashOn 6/15/06, Liu Haibin <[EMAIL PROTECTED]> wrote: If you download the latest code from the dev branch of tinyos-2.x. You should find a Where can I find the latest code? Is the rpm the latest code, or any code on cvs. I found no tinyos-2.x code on the sourceforge cvs server. tutorial under tinyos-2.x/docs/html/tutorial/lesson-t.html. Not sure if this tutorial is I installed the rpm but could not find any relevant doc. However I found some tinyos-2.x doc at http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson[1-5].html but none of them talks about tossim. Any idea where I can find the doc you referred to?Regards, Haibin -- Phd Dept. of Electrical EngineeringUniversity of Southern Californiahttp://www-scf.usc.edu/~asridhar ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?
If you download the latest code from the dev branch of tinyos-2.x. You should find a Where can I find the latest code? Is the rpm the latest code, or any code on cvs. I found no tinyos-2.x code on the sourceforge cvs server. tutorial under tinyos-2.x/docs/html/tutorial/lesson-t.html. Not sure if this tutorial is I installed the rpm but could not find any relevant doc. However I found some tinyos-2.x doc at http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson[1-5].html but none of them talks about tossim. Any idea where I can find the doc you referred to?Regards,Haibin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?
If you download the latest code from the dev branch of tinyos-2.x. You should find a tutorial under tinyos-2.x/docs/html/tutorial/lesson-t.html. Not sure if this tutorial is complete at this point. But it has the specifics to give you an insight into how to use TOSSIM to run with python scripts. I am not sure how to use gdb with TOSSIM-2.x as yet though.-AvinashOn 6/15/06, Cormac Duffy <[EMAIL PROTECTED] > wrote:dont understand how tossim is working yet,the best I can work out is that you compile with make micaz simand in the ./build/micaz/ directory are some object files, and a fewpython files in the application directory.is it possible to use the new tossim with gdb? so i can step though app and find problems with code before uploading??is there any documentation written on the subject yet? (i appreciatetinyos2.x is still in beta stage)found an old help digest> There is no TinyViz in 2.0; TOSSIM, however, is briefly introduced ina> tutorial. The high-level difference is that TOSSIM in 2.0 is a Python> interpreter, so you can script simulations:>> http://cvs.sourceforge.net/viewcvs.py/*checkout*/tinyos/tinyos-2.x/doc/html/tutorial/Attic/lesson-t.html?rev=1.1.2.6>> Philbut that link doesnt work for me.all the bestCormac___ Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Phd Dept. of Electrical EngineeringUniversity of Southern Californiahttp://www-scf.usc.edu/~asridhar ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] tinyos-2.x TOSSIM with gdb?
dont understand how tossim is working yet, the best I can work out is that you compile with make micaz sim and in the ./build/micaz/ directory are some object files, and a few python files in the application directory. is it possible to use the new tossim with gdb? so i can step though app and find problems with code before uploading?? is there any documentation written on the subject yet? (i appreciate tinyos2.x is still in beta stage) found an old help digest > There is no TinyViz in 2.0; TOSSIM, however, is briefly introduced in a > tutorial. The high-level difference is that TOSSIM in 2.0 is a Python > interpreter, so you can script simulations: > > http://cvs.sourceforge.net/viewcvs.py/*checkout*/tinyos/tinyos-2.x/doc/html/tutorial/Attic/lesson-t.html?rev=1.1.2.6 > > Phil but that link doesnt work for me. all the best Cormac ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help