I think I remember having UISP hang up and hold onto the port.
I've forgotten why it hangs now and it was a long time ago.
Something to do with cygwin versions and port names and stuff.
There's a "-v4" verbose argument you can use, try uisp --help.
You might find something in the help list archive from, err...2003-4?
Once it's hung you probably have to either kill the bash window
or even reboot to get it to give up.

MS

Ranjani Nagarajan wrote:
> Hi Michael,
> 
> I found that all of a sudden the Blink application is also not getting 
> deployed. However, the Blink application already deployed is working 
> (Red LED blinks once per second). I find that the first time I try to 
> execute the "make mica2 reinstall mib510,com" command, it hangs after 
> the uisp commandline. If I invoke it again, I get the error :
> 
> Error: No error
>  -> \\.\COM1
> make: *** [program] Error 1
> 
> I am not sure why this is happening.
> 
> Thanks,
> Ranjani
> 
> 
> On Wed, Jan 14, 2009 at 6:26 AM, Michael Schippling <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     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
>         <[email protected] <mailto:[email protected]>
>         <mailto:[email protected] <mailto:[email protected]>>> 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
>                [email protected]
>         <mailto:[email protected]>
>                <mailto:[email protected]
>         <mailto:[email protected]>>
> 
>              
>          
> 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
> 
> 

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

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to