Hi, Javier, Christian, and everybody:

I have the same problem with using cygwin in WIN XP. When I check the tinyos
enviroment, I have no errors but one warning which is the JDK version. I use
the AVRISP and COM1 port to download the Blink program to my mote (ATmega
128 and cc1000).  

If only I use the command "make mica2", the program can be compiled well.

If someone give me some help, I would appreciate! :-)

Thanks a lot!

Steven 
 

Javier Barbarán wrote:
> 
> 
> Hi Christian, and everybody, 
> 
> Just wanted to join to the same question, as I'm facing with the same
> error 
> as you, I get also the Error 57 when I try to compile, but I also detected 
> that doesn't matter if you don't have anything connected to the COM port, 
> cause the error will come up anyway. 
> 
> The only different thing is that I have Windows 7 (don't know if it
> affects, 
> or if more people has the cygwin installed in windows 7 and it works??)
> and 
> I have TinyOS 2.1.1 installed as well. The tos-check-env says not errors, 
> just the typical JAVA 1.4 or 15 warning. 
> 
> I would appreciate any help, 
> 
> Thanks in advance, 
> 
> Regards, 
> 
> Javier. 
> 
>  
> 
> From: [email protected]
> [[email protected]] On Behalf Of McArthur, 
> Christian
> [[email protected]]
> Sent: Monday, April 19, 2010 4:52 PM
> To: [email protected]
> Subject: [Tinyos-help] Make "[program] Error 57" on uisp command 
> 
> Howdy All! 
> 
> I'm experiencing an odd problem when running 'make' to compile and upload 
> code
> to a mote.  I had no issues with this several months ago and can't figure 
> out
> what has changed in the time I walked away from the project.  First some
> information on the environment, then the error. 
> 
> I'm running TinyOS 2.1 under Cygwin and Windows XP.  I am using a MicaZ
> mote
> from Crossbow (MPR2400CA).   I connect the mote to the computer via USB 
> cable
> and at that point COM3 and COM4 appear for the mote.  The command line I
> am
> using for the make process is: 
> 
> make micaz install mib520,/dev/ttyS2 
> 
> The error is occurring whether I attempt this for the tutorial program
> Oscilloscope, code I've written based upon Oscilloscope, and even the
> Blink
> application. 
> 
> As for the error, here are the last two lines of the make process (if you 
> want
> to see it all, I can provide it): 
> 
> uisp -dprog=mib510 -dserial=/dev/ttyS2 --wr_fuse_h=0xd9 -dpart=ATmega128
>  --wr_fuse_e=ff   --erase --upload if=build/micaz/main.srec.out-10
> --verify
> make: *** [program] Error 57 
> 
> The only reference to Error 57 I've found is in the sys/errno.h file which 
> says
> it is due to "Bad font file fmt" and one reference to it on this mailing 
> list
> in the past, but no suggestion on a resolution or if the poster's problem 
> was
> ever solved. 
> 
> I've tried several sets of code (as mentioned above) and tried referencing 
> the
> com port differently (/dev/ttyS2, /dev/ttyS3, COM3, COM4).  Anyone have
> suggestions on what the problem could be or other things to check on? 
> 
> Thanks,
>  --Christian
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Make-%22-program--Error-57%22-on-uisp--command-tp28336899p28442989.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