[Tinyos-help] big problems with motes

Aditya Bhave abhave at hotmail.com
Sat Sep 24 04:36:24 PDT 2005


Hi i am having serious problems getting started with the uisp in the Windows 
environment
Given below is the exact sequence of events that happened in the cygwin 
window

*****************************************************************************
Aditya at home /cygdrive/c
$ uisp -dprog=dapa -dlpt=1 --rd_fuses
pulse
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'

Aditya at home /cygdrive/c
$ uisp -dprog=dapa -dlpt=1 -dpart=ATmega128 --rd_fuses
pulse
Atmel AVR ATmega128 is found.

Fuse Low Byte      = 0xff
Fuse High Byte     = 0xff
Fuse Extended Byte = 0xff
Calibration Byte   = 0xff  --  Read Only
Lock Bits          = 0xff
    BLB12 -> 1
    BLB11 -> 1
    BLB02 -> 1
    BLB01 -> 1
      LB2 -> 1
      LB1 -> 1


Aditya at home /cygdrive/c
$ uisp -dprog=dapa -dlpt=1 -dpart=ATmega128 --wr_fuse_h=0xD9
pulse
Atmel AVR ATmega128 is found.

Fuse High Byte set to 0xd9

Aditya at home /cygdrive/c
$ uisp -dprog=dapa -dlpt=1 -dpart=ATmega128 --rd_fuses
pulse
Atmel AVR ATmega128 is found.

Fuse Low Byte      = 0xff
Fuse High Byte     = 0xff
Fuse Extended Byte = 0xff
Calibration Byte   = 0xff  --  Read Only
Lock Bits          = 0xff
    BLB12 -> 1
    BLB11 -> 1
    BLB02 -> 1
    BLB01 -> 1
      LB2 -> 1
      LB1 -> 1


Aditya at home /cygdrive/c
$
****************************************************************************

1. First of all i believe that the fuse settings are all wrong. They dont 
match up with the settings that i have seen in the mailing lists of this 
site. So why are the settings not getting changed when i use 
--wr_fuse_h=0xd9?

2. Secondly the above sequence of events happened even when the ATmega128 
WAS NOT CONNECTED to the parallel port of the PC(i removed the cable from 
the PC's port) How is the uisp still detecting the ATmega when nothng is 
connected.

3. When i try to make mica2 install for the Blink application it gives flash 
memory errors. I have gone thru all the mailing lists and the readme file 
supplied with the CD and done the following things

      1. uninstalled and installed giveio.sys
      2 slowed down the clock in the Makerules file by adding dt_sck=40 or 
dt_sck=10 at the rigfht place
     3. changed the #define clock default frequncy to 915 Mhz and commented 
out the other frequences 430 and 315 something
     4. changed the printer driver in the BIOS to SPP

Nothing seems to help. Can somebody please help us? I would be grateful if 
the techies at crossbow could reply to this mail.

Aditya Bhave




More information about the Tinyos-help mailing list