uisp -dprog=stk500 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=ff --erase --upload if build/micaz/main.srec.out --verify 
is working fine but here stk500 is parallel Starter kit but When I mention
dasa serial it start searching for /dev/parport0 which is used for parallel
port since i am using serial port it throws up error no such file or
directory.
I am using Mote crossbow MIB520.
Also if i use stk500 and mix it with make command like this 
make install micaz mib520,/dev/ttyUSB0 uisp -dprog=stk500
-dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff
--erase --upload if build/micaz/main.srec.out --verify

it breaks at dpart throwing invalid option "a"  invalid option  "m"  invalid
option "1"
not able to understand "2"  etc..

because it not able to understand the parameters. while separately used same
command is able to run.
which means procedure to mix make with uisp there is problem i tried pipe
make|uisp or redirection.
but that is also not right approach since it failing after two parameters of
uisp.
means it taking uisp.
then I tried 
$make debug uisp ....
it does not show any error. I tried offing all nessC binding display which
happen when nowiring
$make debug nowiring uisp... 
$make debugopt uisp....
These are just to minimize the debug display results so I can see the
problem.
Also make by default calls up $MAKERULES parameter which call for makerules
file
you can see this by issuing command
echo $MAKERULES
/opt/tinyos-2.1.0/support/make/Makerules
this makerules file specify all the environment variables 

As per guidelines " changing this file may break the build process"

http://www.tinyos.net/tinyos-1.x/doc/tutorial/buildenv.html

"While it is possible to edit this file to make changes, such practice is
not advisable since 1) the Makerules file is not intuitive, 2) changing this
file may break the build process, 3) the changes may not portable to other
users."
----------------------------------------------------------------------------------------------
But This makerules specify the environment variables necessary to execute
java, python, other languages besides other parameters for make file of C,
C++ and nessC. 
-----------------------------------------------------------------------------------------------
presently I looking forward to modify this file as well looking other
options to Explore make process.



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/UISP-not-showing-error-but-not-writing-program-to-mote-and-displaying-environment-parameters-tp23595p23608.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to