Good morning
Now I am on tinyos 2.0.2, I am using mib520 (usb interface) and micaz motes.
When I try to program my mote with blink apps (make micaz reinstall
mib520,/dev/ttyS0)
I have the following error :
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"soane\"
-DIDENT_HOSTNAME=\"Cancoon\" -DIDENT_USERHASH=0x5ed782a6L
-DIDENT_TIMESTAMP=0x48c53e7aL -DIDENT_UIDHASH=0xa13f87e2L -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
6960 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 with dapa
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase
pulse
Atmel AVR ATmega128 is found.
Erasing device ...
pulse
Reinitializing device
Atmel AVR ATmega128 is found.
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --upload
if=build/micaz/main.srec.out
pulse
Atmel AVR ATmega128 is found.
Uploading: flash
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --verify
if=build/micaz/main.srec.out
pulse
Atmel AVR ATmega128 is found.
Verifying: flash
flash error at address 0x0: file=0x0c, mem=0xff
flash error at address 0x1: file=0x94, mem=0xff
flash error at address 0x2: file=0x49, mem=0xff
flash error at address 0x3: file=0x00, mem=0xff
flash error at address 0x4: file=0x0c, mem=0xff
flash error at address 0x5: file=0x94, mem=0xff
flash error at address 0x6: file=0x68, mem=0xff
flash error at address 0x7: file=0x00, mem=0xff
flash error at address 0x8: file=0x0c, mem=0xff
flash error at address 0x9: file=0x94, mem=0xff
flash error at address 0xa: file=0x68, mem=0xff
flash error at address 0xb: file=0x00, mem=0xff
flash error at address 0xc: file=0x0c, mem=0xff
flash error at address 0xd: file=0x94, mem=0xff
flash error at address 0xe: file=0x68, mem=0xff
flash error at address 0xf: file=0x00, mem=0xff
flash error at address 0x10: file=0x0c, mem=0xff
flash error at address 0x11: file=0x94, mem=0xff
flash error at address 0x12: file=0x68, mem=0xff
flash error at address 0x13: file=0x00, mem=0xff
flash error at address 0x14: file=0x0c, mem=0xff
flash error at address 0x15: file=0x94, mem=0xff
flash error at address 0x16: file=0x68, mem=0xff
flash error at address 0x17: file=0x00, mem=0xff
flash error at address 0x18: file=0x0c, mem=0xff
flash error at address 0x19: file=0x94, mem=0xff
................
I see different answer for this problem but nothing resolve it :
- verify if the mote is strongly fix to the mib520 board
- mib520 is not take in charge by tinyos ( replace mib520,/dev/ttyS0 by
mib510,/dev/ttyS0)
- erase the sensor : uisp -dprog=dapa --erase
- sensors are not programmed correctly by the constructor, I don't if it is
; I saw that
to know it I have to buy some JTAG program??
does someone can help me?
thanks
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help