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