The procedure that worked for me with most reliability was as follows:

- erase the main processor
- erase the little guy
- program the little guy
- verify little guy 
- program the main processor
- verify the main processor.

Rob

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rong
Zheng
Sent: Saturday, October 11, 2003 11:29 AM
To: [EMAIL PROTECTED]
Subject: [Tinyos-users] Little Guy Sleep

hi,

I use Mica mote and when run the little guy sleep program under apps/, I

got the following message,

make: `mica' is up to date.
sleep 1
uisp -dprog=dapa_2   -dno-poll --erase
pulse
Probably the AVR MCU is not in the RESET state.
Check it out and run me again.
make: *** [LG_sleep.install] Error 2

I found similar complaints previously

Kyle Jamieson [EMAIL PROTECTED]
Wed May 7 15:12:13 PDT 2003


I'm trying to program the Little Guy on the Mica.  Under the TinyOS
0.6.1 distro, I cd to nest/tos/platform/littleguy and make install.
This works about 10% of the time.  The other 90% of the time I get:

-----

Atmel AVR AT90S2343 is found.
Uploading: flash
sleep 1
uisp -dprog=dapa_2   -dno-poll --verify if=MICA.srec
pulse
Probably the AVR MCU is not in the RESET state.
Check it out and run me again.

-----

Sometimes flipping the power switch works.  Other times it fails so many
times I think I burn something out, and I get:

-----

An error has occurred during the AVR initialization.
  * Target status:
    Vendor Code = 0xff, Part Family = 0xff, Part Number = 0xff

Probably the wiring is incorrect or target might be `damaged'.

-----

Any clue?

Rong

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to