You are right. I am using IRIS instead of MicaZ. Thank you for pointing
it out. 

 

Feng

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Janos Sallai
Sent: Monday, November 24, 2008 2:57 PM
To: Feng Wang; [email protected]
Subject: Re: [Tinyos-help] question with Blink example using micaz with
mib520

 

Are you sure it's a micaz that you have? Uisp found an ATMega1281, but
the micaz has an ATMega128...

Janos

On Mon, Nov 24, 2008 at 2:25 PM, Feng Wang <[EMAIL PROTECTED]> wrote:

I am using micaz with mib520 as the processing board and tried the Blink
example on it.  But the red LED does not blink after the Blink program
is installed on the micaz. 

 

Here is the command I used to compile and install the Blink program and
the output I got. 

-------------------------------------------------------------

$ make micaz reinstall mib520,com3

cp build/micaz/main.srec build/micaz/main.srec.out

    installing micaz binary using mib520

uisp -dprog=mib520 -dserial=com3 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=f

f  --erase --upload if=build/micaz/main.srec.out

Firmware Version: 1.8

Atmel AVR ATmega1281 is found.

 

Fuse High Byte set to 0xd9

 

Fuse Extended Byte set to 0xff

 

Uploading: flash

rm -f build/micaz/main.exe.out build/micaz/main.srec.out

 -----------------------------------------------------------------

 

I don't see verification of flash step in the output but there is no
error message either. Does that mean the program has been successfully
uploaded? I did see red led flashed during the upload. 

 

When I type "rpm -qa" in cygwin window, it shows "tinyos-tools-1.2.3-1".
Does that mean I am using version 1.2 of tinyos? Do I need a higher
version of tinyos to work with micaz? 

 

Another thing I noticed is that before I download the Blink program to
micaz, the red, green and yellow leds flash everytime I power it on with
usb power. But after Blink is installed, no leds flash when I switch the
power.

 

Anybody had seen similar issues before? Any suggestion is appreciated. 


_______________________________________________
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

Reply via email to