Figured this out. Trivial!

Sorry for bothering.


talk2kish wrote:
> 
> Hi,
> 
> I've the following trouble executing BlinkToRadio program as explained in
> TinyOS tutorials part 3.
> 
> make micaz install -----> returns the following
> 
> mkdir -p build/micaz
>     compiling BlinkToRadioAppC to a micaz binary
> ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -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=\"BlinkToRadioApp\" -DIDENT_USERNAME=\"root\"
> -DIDENT_HOSTNAME=\"dolphin-laptop\" -DIDENT_USERHASH=0xab8172f9L
> -DIDENT_TIMESTAMP=0x4c659e35L -DIDENT_UIDHASH=0x60d2e1a7L
> -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs,
> components)' -fnesc-dumpfile=build/micaz/wiring-check.xml
> BlinkToRadioAppC.nc -lm
> /opt/tinyos-2.1.1/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
> #warning
> "*** LOW POWER COMMUNICATIONS DISABLED ***"
>     compiled BlinkToRadioAppC to build/micaz/main.exe
>            11656 bytes in ROM
>              311 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
> 
> 
> When I install the same on micaz mote, it installs fine but when I power
> on
> the mote (after taking off the board) with batteries, the leds just
> wouldn't
> blink! This is the output of the command:
> 
> make micaz install mib510,/dev/ttyUSB0
> 
> mkdir -p build/micaz
>     compiling BlinkToRadioAppC to a micaz binary
> ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -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=\"BlinkToRadioApp\" -DIDENT_USERNAME=\"root\"
> -DIDENT_HOSTNAME=\"dolphin-laptop\" -DIDENT_USERHASH=0xab8172f9L
> -DIDENT_TIMESTAMP=0x4c659dadL -DIDENT_UIDHASH=0x1521a22eL
> -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs,
> components)' -fnesc-dumpfile=build/micaz/wiring-check.xml
> BlinkToRadioAppC.nc -lm
> /opt/tinyos-2.1.1/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
> #warning
> "*** LOW POWER COMMUNICATIONS DISABLED ***"
>     compiled BlinkToRadioAppC to build/micaz/main.exe
>            11656 bytes in ROM
>              311 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 mib510
> uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -dpart=ATmega128
>  --wr_fuse_e=ff   --erase --upload if=build/micaz/main.srec.out --verify
> Firmware Version: 2.1
> Atmel AVR ATmega128 is found.
> Uploading: flash
> Verifying: flash
> 
> Fuse High Byte set to 0xd9
> 
> Fuse Extended Byte set to 0xff
> rm -f build/micaz/main.exe.out build/micaz/main.srec.out
> 
> 
> Would be great if anyone can help me!
> 
> Regards,
> -- 
> Bhanu Kishore
> 
> http://bhanukishore.blogspot.com/
> 
> The only lines that matter are the ones you make.
> 
> _______________________________________________
> 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/BlinkToRadio-Installation-error-on-micaz-mote-tp29432385p29433766.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