If you have never used gdb perhaps this tutorial [3] would be useful. It's intended for unix users, but since you are using cygwin, it should work for you.
[1]: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html
[2]: http://www.tinyos.net/tinyos-1.x/doc/
[3]: http://www.cs.cmu.edu/~gilpin/tutorial/
primalfear 69 <[EMAIL PROTECTED]> escribió:
helloi have installed tinyos and now i have learned to compile and burning in to my motes. the problem what i face is to debeug my code... since i don't have JTAG to see realtime debugging.i have lots of doubts regarding the communication via radio.the other big problem is my codes not able to run the for loop and while loop.it is coming out of the loop. sounds bit weird but then these are the nightmares which am facing nowadays.going back.......if i want to check my nesC code line by line what should i do........... can i do so?Regards
On 9/8/06, Pablo Gil Montaño <[EMAIL PROTECTED] > wrote:Ahother thing:
perhaps you already installed the software from xbow and you don't know exactly how to compile an application. Try opening cygwin, look for a directory called apps/Blink (it should be under tinyos-1.x ) and type make mica2, that way you will build the Blink application for your mica2 motes. This is the way to compile something, there is no software similar to TurboC for nesc, it's 'make mica2'. Tell me if you still have questions.
primalfear 69 <[EMAIL PROTECTED] > escribió:helloI am using windows XP , mica2 motes with MIB510 programmer...RegardsSriram
On 9/8/06, Pablo Gil Montaño <[EMAIL PROTECTED] > wrote:Which operating system and motes are you using?
primalfear 69 <[EMAIL PROTECTED] > escribió:thanks man..as you said i went through the install file given in nesc-1.2.7a/install. this is what is given in that file
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////To build nesC: in this directory./configure [--prefix=<where you want to install nesc]makeTo install:make installTo install a nesC editor mode (currently, emacs, vim, kde):Read <installdir>/lib/ncc/editor-modes/<your-editor-name>/readme.txtTo use nesC with TinyOS, you need to install the ncc, mig, etc TinyOS frontends for nesC. These are found in tinyos-1.x/tools/src/ncc (for TinyOS 1.x) and in tinyos-2.x/tools (for TinyOS 2.x). Please follow the installation directions you find there.To use nesC with the Atmel AVR processors or the TI MSP processors youneed the avr-gcc and msp430-gcc packages, as well as patched versionsof the GNU binutils (avr-binutils and msp430-bintutils respectively).These packages can be obtained from http://www.tinyos.net/dist-2.0.0(also check http://www.tinyos.net/download.html to see if newer versionsare available).//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
its said that "tinyos-1.x/tools/src/ncc (for TinyOS 1.x) " in this path i would be able to find ncc but there is no mention of it. i found ncc in the path "\tinyos\cygwin\usr\local\lib" but with no installation guide. could you get me any help regarding this....RegardsPrimalfearOn 9/7/06, Pablo Gil Montaño <[EMAIL PROTECTED] > wrote:The thing you are downloading is the source code of the nesc compiler. You first need to compile the compiler, so as to say. In order to do that, you should read the file INSTALL, included in that file (tar.gz is a compressed file, you can decompress it with 7zip [1]). You must know that in order to use nesc you must run linux (or windows+cygwin). If you are using windows, perhaps it would be better to install the software from the vendor of your motes (moteiv, xbow, etc.), which will include cygwin and all the other necessary tools (nesc, etc.).
[1]: http://www.7-zip.org/
primalfear 69 < [EMAIL PROTECTED]> escribió:hello everybodywhat is this nesC compiler given under the link. is it not same like c compiler (turbo..... etc.)when i download it am not getting any application/exe file under which i can compile my nesC programs. could anyone be more specific on what is it._______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
