[Tinyos-help] Problem while deploying Agilla on Mica2 sensors

Michael Schippling schip at santafe.edu
Tue Jan 13 11:26:06 PST 2009


Try comparing the "uisp" command lines that are generated
by working and not working examples, and maybe run them by hand.

It also could be that you don't have a good download file and the
error message is wrong...check through the build output directories
to see what is actually there.

MS

Ranjani Nagarajan wrote:
> Hi Michael,
> 
> Thanks a lot for your email. I have been able to deploy and run Blink 
> application on the sensors, but when I tried to deploy Agilla this 
> problem surfaced. I have also tried /dev/ttyS0 but that didn't help. I 
> have checked the device manager for the serial port and it is COM1. I 
> have tried with different cases for COM1 (com1 and COM1) but that didn't 
> help either.
> 
> Thanks,
> Ranjani
> 
> On Tue, Jan 13, 2009 at 5:53 AM, Michael Schippling <schip at santafe.edu 
> <mailto:schip at santafe.edu>> wrote:
> 
>     Have you been able to download anything to your micas
>     or is it just failing on the real program you want to use?
>     Are you sure the COM1 is the right port?
>     You might try using "/dev/ttyS0" instead of COM1 as well.
> 
>     MS
> 
>     Ranjani Nagarajan wrote:
> 
>         Hi there,
> 
>         I am trying to deploy Agilla on Mica2 sensors.  Agilla is a
>         middleware that helps in development of mobile agents
>         (http://www.cs.wustl.edu/mobilab/projects/agilla/). I am using
>         TinyOS 2.x. I am able to compile Agilla but I am facing the
>         following problem while deploying:
> 
>         Command:   make mica2 reinstall,1 mib510,com1
>         Cygwin:    C:\Crossbow\cygwin\bin
>         Directory:
>         C:\Crossbow\cygwin\opt\MoteWorks\apps\general\Agilla\nesc\agilla\
>         "/opt/MoteWorks/tools/bin/ide.pl 'make mica2 reinstall,1
>         mib510,com1'
>         'C:\Crossbow\cygwin\opt\MoteWorks\apps\general\Agilla\nesc\agilla\'"
>         #############################
>         ide.pl Ver:$Id: ide.pl,v 1.1.2.1 2006/05/29 07:22:52 lwei Exp $
>         Executing: /opt/MoteWorks/apps/general/Agilla/nesc/agilla/ bash
>         -c "make mica2 reinstall,1 mib510,com1"
>         set-mote-id build/mica2/main.srec build/mica2/main.srec.out-1 1
>            installing mica2 binary using mib510
>         uisp -dprog=mib510 -dserial=com1 --wr_fuse_h=0xd9
>         -dpart=ATmega128 --wr_fuse_e=ff  --erase --upload
>         if=build/mica2/main.srec.out-1
>         Error: No error
>         make: *** [program] Error 1
>          -> \\.\COM1
> 
>          > Process Exit Code: 0
>          > Time Taken: 00:02
> 
> 
>         I am not sure why this is happening and the error is not very
>         descriptive. Please let me know if you have faced similar
>         problem before or if you have any ideas about why this may be
>         happening. I will really appreciate your help.
> 
>         Thanks,
>         Ranjani
> 
> 
>         ------------------------------------------------------------------------
> 
>         _______________________________________________
>         Tinyos-help mailing list
>         Tinyos-help at millennium.berkeley.edu
>         <mailto:Tinyos-help at millennium.berkeley.edu>
>         https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
>     -- 
>     Platform: WinXP/Cygwin
>     TinyOS version: 1.x, Boomerang
>     Programmer: MIB510
>     Device(s): Mica2, MicaZ, Tmote
>     Sensor board: homebrew
> 
> 

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew



More information about the Tinyos-help mailing list