For some reason the programmer type is not getting
to the uisp download command line correctly:
uisp -dprog=dapa
means use the old parallel port programmer.
I never rememver the command line syntax, what
you used looks right but I guess it isn't. I always
put the programmer and port spec in the MakeLocal file
so I don't have to put it on the command line:
DEFAULT_PROGRAM=mib510
MIB510=/dev/ttyS4
Depending on the version of all the tools you use you may
need to specify COM[x] or /dev/ttyS[x-1]. In fact you
might just try the /dev... setting on the command line
and see if that is what is confusing things.
MS
maha timraz wrote:
> Hi
> Im new in tinyos .Im trying to install the oscilloscope appplication
> to a mica2 ( according to lesson 6 in tutorials ) . I have attached
> mica2 on top of MIB510 and MTS300 sesnor board to the bottom . It gives
> me this output :
>
> eng.je...@design <mailto:eng.je...@design> /opt/tinyos-1.x/apps/oscilloscope
> $ make mica2 install mib510,com4
> compiling Oscilloscope to a mica2 binary
> ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -Wall
> -Wshadow -DDE
> F_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
> -fnesc-cfile=build/mica2/ap
> p.c Oscilloscope.nc -lm
> compiled Oscilloscope to build/mica2/main.exe
> 6996 bytes in ROM
> 337 bytes in RAM
> avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
> make[1]: Entering directory `/opt/tinyos-1.x/apps/oscilloscope'
> installing mica2 binary
> uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --erase
> pulse
> Atmel AVR ATmega128 is found.
> Erasing device ...
> pulse
> Reinitializi! ng device
> Atmel AVR ATmega128 is found.
> Fuse Extended Byte set to 0xff
> sleep 1
> uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --upload
> if=build/mica2/main.s
> rec
> pulse
> Atmel AVR ATmega128 is found.
> Uploading: flash
> Fuse Extended Byte set to 0xff
> sleep 1
> uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --verify
> if=build/mica2/main.s
> rec
> pulse
> Atmel AVR ATmega128 is found.
> Verifying: flash
>
> flash error at address 0x1a2d: file=0x01, mem=0x00
> flash error at address 0x1a2e: file=0xe8, mem=0x00
> flash error at address 0x1a2f: file=0x2f, mem=0x00
> flash error at address 0x1a30: file=0xff, mem=0x00
> flash error at address 0x1a31: file=0x27, mem=0x00
> flash error at address 0x1a32: file=0xee, mem=0x00
> flash error at address 0x1a33: file=0x59, mem=0x00
> flash error at address 0x1a34: file=0xfe, mem=0x00
> flash error at address 0x1a35: file=0x4f, mem=0x00
> ......
> flash error at address 0x1b53: file=0x01, mem=0x00
> Fuse Extended Byte set to 0xff
> make[1]: Leaving directory `/opt/tinyos-1.x/apps/oscilloscope'
> make: *** No rule to make target `mib510,com4'. Stop.
> eng.je...@design <mailto:eng.je...@design> /opt/tinyos-1.x/apps/oscilloscope
>
>
> I dont what is the problem . I have changed the sensorboard option in
> makefile to maicasb, and mts300 , and basicsb and i got the same result
> for each . plz help me if you can .
>
>
>
> ------------------------------------------------------------------------
> Windows Live: Keep your friends up to date with what you do online.
> <http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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