At least the error changed, yes? Verify that your programmer is really on ttyUSB0. If you are using a serial to USB converter on Windows it should appear as a COMn port which you can find in the Device Manager under Ports. This would translate as ttyS(n-1), e.g.: COM3 is ttyS2. If on Linux I have no idea how to figure out the port name.
Also search for MIB520 as I recall there was a problem with it, but one could use MIB510 in the variables instead. MS Pramod pp wrote: > Thank you for reply Mr. MS. I've also mib520 board with serial to USB > interface. > I saved this ( > > DEFAULT_PROGRAM=mib520 > > MIB520=/dev/ttyUSB0 ) to /apps/Blink directory but same below problem is > appeared. > Even I saved over argument in $gedit ~/.bashrc but not effect and continuous > same problem. > > And, i run this command for download and make file --make micaz install > mib520,/dev/ttyUSB0 > but no effect and continuously error is ( > Programmer is not responding. > make: *** [program] Error 2 > > so what kind of above error let me know about this plz. > ok now bye and hope u will help me to solve this program. > > > > ur sincerly > Bohara > South kore > line number 2 Seoul. > > > --- On *Tue, 21/4/09, Michael Schippling /<[email protected]>/* wrote: > > From: Michael Schippling <[email protected]> > Subject: Re: [Tinyos-help] for problem > To: [email protected] > Cc: [email protected] > Date: Tuesday, 21 April, 2009, 4:38 PM > > You haven't defied what kind of programmer interface you are using > and the download defaults to an old parallel port version "dapa". > > I use a MIB510 and define these two things in my apps/Makelocal file: > > DEFAULT_PROGRAM=mib510 > MIB510=/dev/ttyS4 > > Where the ttyS4 means the programmer is attached to COM3 on windows, > These settings will vary depending one what you use and how it's > connected. > You can also set > this on the make command line. I just tried googling > MIB510 /dev/tty and got a lot of links to help list messages which might > be useful to you. > > MS > > > Pramod pp wrote: > > Dear sir/mam; > > > > I'm Bohara from South Korea and Working Seoul Company. I would like > to inform that I want to execute program on micaz device. But I've problem > when I use to compile and download program in TinyOS. I've used TinyOS > (2.1.0 ver) with NesC(1.3.0 ver) compiler. I run the Blink - led file > which is > in opt/tinyos-2.1.0 /apps/Blink. I compile it. but problem appeared this > way-- > > //////////////////////////////////////////////////// > > mkdir -p build/micaz > > compiling BlinkAppC to a micaz binary > > ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz > -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 > --param > max-inline-insns-single=100000 > -DIDENT_APPNAME=\"BlinkAppC\" > -DIDENT_USERNAME=\"maverick\" > -DIDENT_HOSTNAME=\"maverick-laptop\" > -DIDENT_USERHASH=0x26ef7c2bL -DIDENT_TIMESTAMP=0x49ebfc1bL > -DIDENT_UIDHASH=0xb2aeca53L -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' > -fnesc-dump='referenced(interfacedefs, components)' > -fnesc-dumpfile=build/micaz/wiring-check..xml BlinkAppC.nc -lm > > compiled BlinkAppC to build/micaz/main.exe > > 2052 bytes in ROM > > 51 bytes in RAM > > avr-objcopy --output-target=srec build/micaz/main.exe > build/micaz/main.srec > > avr-objcopy --output-target=ihex build/micaz/main.exe > build/micaz/main.ihex > > writing TOS image > > cp build/micaz/main.srec build/micaz/main.srec.out > > installing micaz binary using dapa > > uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 > --wr_fuse_e=ff --erase --upload if=build/micaz/main.srec.out > --verify > > /dev/parport0: No such file or directory > > Failed to open ppdev. > > make: *** [program] Error 2 > > ///////////////////////////////////////////// > > I think, here is mistake to seet dev port of USB. so how can i solve > this? > I hope your will help me to write about it. > > > > > > > > Honestly : > > Bohara > > South Korea/Seoul > > > > > > ------------------------------------------------------------------------ > > New Email addresses available on Yahoo! > > <http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/> > > > Get the Email name you've always wanted on the new @ymail and > @rocketmail.. > > Hurry before someone else does! > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > ------------------------------------------------------------------------ > Get your new Email address! > <http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail..promotions.yahoo.com/newdomains/aa/> > > > Grab the Email name you've always wanted before someone else does! _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
