Null is actually a program and contains lots of code.   It is not a null
"image".

Look at the output after compiling the Null App.  ie.   look at
msp430-objdump build/telosb/main.exe

On Wed, Oct 3, 2012 at 4:57 PM, Modi, Jenis Ashokkumar <
[email protected]> wrote:

> Hi,
>
> Could anyone tell me what's the difference between uploading Null program
> to mote and erasing the mote before uploading any other program?
>
> Are these scenarios same?
>

Not even remotely similar.


>
> 1. tinyos/apps/Null : make telosb install bsl,/dev/ttyUSB0
>

I don't know if the install causes an implicit erase or not.

Unless your two programs overlay each other in a nice way it is a problem
waiting to happen.

    tinyos/apps/Blink: make telosb install bsl,/dev/ttyUSB0
>
> 2. tinyos/apps/Blink: /usr/bin/tos-bsl --telosb -c /dev/ttyUSB0 -e
>     tinyos/apps/Blink: install code
>
>
> Thanks.
> J M
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to