Hi, As far as I can see, your command line contains 2 errors. First, the argument to reinstall should be a mote ID. Second, if you have never built the application before, you should use install instead of reinstall. So, your command line should look like:
$ make mica2 install,0 mib520,com6 (assuming you want to install to the mote with id 0) regards Wouter On Monday 03 March 2008 02:03:59 Bo Xu wrote: > Dear all: > > I installed Moteworks the other day, after that, I met a problem. When I > tried to upload program to mica2, the following error occured: > > $ make mica2 reinstall,mib520,com6 > set-mote-id build/mica2/main.srec build/mica2/main.srec.out-mib520,com6 > mib520,com6 avr-objdump: 'build/mica2/main.exe': No such file > Could not find data section in build/mica2/main.exe, aborting. > make: *** [setid] Error 255 > > > Do you guys have any idea how to solve it? > > Thanks a lot! > > Sincerely, > Michael > > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help