Thanks Mike for the quick reply.

But when i ran tosthreads-gen-dynamic-app it says command not found
but i changed it by just giving tosthreads-dynamic-app

but when i gave that it says that it is expecting <obj_file> <bin_file>
<tos_file>

what should i do to get the Blink.tos binary file? Because i see only a
Blink.c file in the directory. (and the make  stack.h etc)

thanks again

silva

On Mon, May 17, 2010 at 6:25 PM, Chieh-Jan (Mike) Liang
<[email protected]>wrote:

> Hi Silva,
>
> First, you need the cthreads-version of the application. For example, let's
> take "tinyos-2.x/apps/tosthreads/capps/Blink", the cthreads-version of
> Blink. One script in TinyOS tools is "tosthreads-gen-dynamic-app". And, you
> just do "tosthreads-gen-dynamic-app
> tinyos-2.x/apps/tosthreads/capps/Blink/Blink.c" to create a file called
> Blink.tos. Blink.tos is the binary that TinyLD can load.
>
> Thanks
>
> Mike
>
> On May 17, 2010, at 8:16 PM, sadun silva wrote:
>
> > Dear all,
> >
> >
> > I was wondering how did somebody convert the blink  program to a set of
> hexadecimal values in tinyld (LoadFromRAM application). just have a look!
> >
> >
> http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/apps/tosthreads/tinyld/LoadFromRAM/LoadFromRAMP.nc?view=markup
> >
> > if the link is not working the application is at
>  /opt/tinyos-2.x/apps/tosthreads/tinyld/LoadFromRAM
> >
> > Is there a mechanism to do that (like an interpreter)?
> >
> >
> > thanks
> >
> >
> >
> > silva
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to