Title: RE: [Tinyos-help] beginner tests: installing on ATMEGA128
In this case, i'm not very sure myself about programming using a parallel wire. You may want to refer to the Crossbow website for information on this. They have manuals posted there.
 
However, leds not blinking on a mote is not an indication that the mote is not functioning. I believe your mote has not been uploaded with any program yet. Therefore, nothing is functioning as yet.


From: bruno bianco [mailto:[EMAIL PROTECTED]
Sent: Thu 3/9/2006 5:42 PM
To: #AMIT SATPATHY#
Subject: RE: [Tinyos-help] beginner tests: installing on ATMEGA128

Hi.
We're not using a programmer, simply connected the
mote to the notebook via a parallel wire.
Maybe that's the problem?
Moreover, now I notice that, when I plug the power
supply, no led is blinking.

Unfortunately my tutor, who's more expert, is away for
3 days, then I'm abandoned to my destiny.

Please help
--- #AMIT SATPATHY# <[EMAIL PROTECTED]> ha scritto:

> When running from the tinyos-1.x/apps folder, it is
> necessary for you to specify the programmer and the
> port that it is using. For instance, you should type
> ypur command as make micaz install.0 mib510,com1 (if
> you are using MIB510 programmer. If not, indicate
> accordingly). Alternatively, you can run the Blink
> application from the tinyos-1.x/contrib/xbow/apps
> folder. Just need to make a few changes in the
> makefile.
>
> ________________________________
>
> From: [EMAIL PROTECTED] on
> behalf of bruno bianco
> Sent: Thu 3/9/2006 4:58 PM
> To: [email protected]
> Subject: [Tinyos-help] beginner tests: installing on
> ATMEGA128
>
>
>
> 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
>
>
>



       

       
               
___________________________________
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

Reply via email to