Sorry, in my last e-mail I meant you have to use gdb, not dbg – although, you will find it useful dbg(…) calls in you code.

 

The tools you have to go away and research are:

 

TinyOS – tutorials and source code would be good start

TOSSIM – there are white papers for this

ncc – man pages

gdb – man pages

mica2 – refer to the vendor documentation

 

You are not going to learn this stuff over-night and there are no silver-bullets nor substitutes for reading the literature.

 

Please email the mail list in future. If you email me directly I will not reply

 

Best regards,

 

---

Darren Bishop


From: primalfear 69 [mailto:[EMAIL PROTECTED]
Sent: 12 August 2006 06:14
To: Darren BISHOP
Subject: Re: how to program the MICA2

 

hello darren.....

thanks for that ....but then it wud be really good if i get a bit more elaborated version of u r previous mail...:D.

hope for that soon......

 

thanks again

 

Regards

Primalfear

 

On 8/11/06, Darren BISHOP <[EMAIL PROTECTED]> wrote:

Compile it as tossim i.e. use the make pc option and then run it through dbg

Regards



primalfear 69 wrote:

hi,

 

  thanku verymuch for ur reply......can u say me how to debug a nesc program....

 

Regards,

Primalfear

 

On 8/9/06, Darren BISHOP <[EMAIL PROTECTED] > wrote:

From your other e-mail, I think you mis-understood what your
colleague/friend/adviser said. You can use the CDT Eclipse plugin to
write TinyOS code - this is because nesC is derived from C. CDT
accommodates both C and C++ programmers but this does not mean you can
write C++ to be used on TinyOS.

What your source did not know is that there are a few Eclipse plugins
available designed for nesC coding specifically. Google 'Eclipse TinyOS'
to find them.

You will still need to learn nesC as the programming model is
significantly different to C and C++.

I do not know how to upload code to Mica2 motes; we use Moteiv Telosb
motes here connected by usb. I would run a command like the following:

make telosb install.0 bsl,/dev/hen/motes/USB0

Try changing telosb to mica2

Kind regards,

Darren

primalfear 69 wrote:
> hello darren........
>
> forgot to add in my previous mail.... if i want to burn sample
> programs given in tinyos (like BLINK etc)....... i have builded it
> using make command. i have got for all the platforms. i have one srec
> file and an exe file........... could you now get me how to burn the
> code into MICA2. is there any  IDE for that.........?? i have both the
> programming board and mica board with me in order to test.
>
> Regards
> Primalfear

 

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to