Hello.
What we did:
-----------------------------------------------------
Compiling Blink.nc for installing on a ATMEGA128
( supposed being micaz... correct? ), plugged the
parallel port connector.
$ cd /opt/tinyos-1.x/apps
$ make micaz install.0
-----------------------------------------------------
What we achieved:
-----------------------------------------------------
mkdir -p build/micaz
compiling Blink to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000
-Wall -Wshadow -DDEF_TOS_A
M_GROUP=0x7d -Wnesc-all -target=micaz
-fnesc-cfile=build/micaz/app.c -board=mica
sb -DIDENT_PROGRAM_NAME="Blink"
-DIDENT_PROGRAM_NAME_BYTES="66,108,105,110,107,0
" -DIDENT_USER_HASH=0x60f9b35eL
-DIDENT_UNIX_TIME=0x440feaeeL -I/opt/tinyos-1.x/
tos/lib/CC2420Radio Blink.nc -lm
compiled Blink to build/micaz/main.exe
1490 bytes in ROM
44 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe
build/micaz/main.srec
set-mote-id build/micaz/main.srec
build/micaz/main.srec.out 0
Could not find symbol TOS_LOCAL_ADDRESS in
build/micaz/main.exe, ignoring symbol
.
installing micaz binary with dapa
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff
--erase
pulse
Atmel AVR ATmega128 is found.
Erasing device ...
pulse
Reinitializing 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/micaz/main.s
rec.out
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/micaz/main.s
rec.out
pulse
Atmel AVR ATmega128 is found.
Verifying: flash
flash error at address 0x0: file=0x0c, mem=0x00
flash error at address 0x1: file=0x94, mem=0x00
flash error at address 0x2: file=0x46, mem=0x00
flash error at address 0x4: file=0x0c, mem=0x00
flash error at address 0x5: file=0x94, mem=0x00
...............................................
...............................................
...............................................
-----------------------------------------------------
Did we do somwthing wrong or what else?
P.S. When plugging the note ( which has a red led, 4
green leds, 4 buttons ) the red led don't blink, we
just see green led #4 blinking for a small second )
Best Regards
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help