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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to