Hi,
 
you don't have to use batteries when programming. Make sure the 5V/POE
switch is in 5V position, press mote firmly to the connector. Then retry
several times (using reinstall command to avoid recompile), sometimes
the motes may be quite stubborn to start handshaking. I don't know if it
makes any difference but try to  give the mote ID along the command
(make micaz reinstall,0 eprb,XXXX) even though zero is default. Does the
red programming led turn on?
 
Regards,
 
    Harri

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
SeungWeon Park
Sent: Tuesday, March 06, 2007 10:15 AM
To: [email protected]
Subject: [Tinyos-help] Programming Micaz in MIB600 problem


Hi all,

I have some troubles programming micaz in MIB600. I don't know what the
problem is.
Following is what I did.

1. Power LED steady on.
2. Micaz mote is attached properly into the MIB600 board. 
3. I assigned the ip address 10.0.0.5 to MIB600, so I can ping from my
laptop(Ubuntu) to MIB600.
4. I compile and install like following.
5. I got some error "AVR MCU not in the RESET state". 

Could you give any clue to solve this problem? Should I put batteries
into the socket of micaz and turn it on when I install the program?

Thanks in advance.
Seungweon.

---------------------error message------------------ 
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ make micaz install
eprb,10.0.0.5
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
-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
            2410 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 using eprb
uisp -dprog=stk500 -dhost= 10.0.0.5 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=ff  --erase --upload if=build/micaz/main.srec.out
Firmware Version: 1.7
Probably the AVR MCU is not in the RESET state.
Check it out and run me again. 
make: *** [program] Error 2
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ 



_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to