Hi,

what operating system and version of TinyOS are you using ?

If you are using TinyOS 1.x straight out of the box you could try using following Makerules file "tools/make/Makerules". It supports the "new" make system (check out tools/make/README).

As for the flashing errors, you presume "/dev/ttyS1-1" is Com1, why? How many Com-Ports do you have? You could try to read (read-only) from the Atmel by using uisp in order to check which Com-Port works for you.

cheers ....
Message: 1
Date: Fri, 2 Mar 2007 17:30:27 -0800 (PST)
From: Steve Gao <[EMAIL PROTECTED]>
Subject: [Tinyos-help] Flash Errors when I download "Blink" code to a
        micaz
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi, folks,

  I am a newbie of TinyOS. I just bought a Crossbow Progessional-kit with micaz nodes. 
But I got some problems when I tried to write the "Blink" program to a micaz 
node. Here is what happened:

  I connected a micaz node to the mib510 board. The mib510 board is connected 
to a PC. The micaz is set ON and the mib510 is set to OFF (according to TinyOS 
tutorial). All batteries are Brand New.

 First, I try "make micaz" but it fails and reports:
"../Makerules:314: *** mica mica2 mica2dot pc all micaz

Usage:   make <platform>
         make all
         make clean
         make install[.n] <platform>
         make reinstall[.n] <platform> # no rebuild of target
         make docs <platform>

         Valid platforms are: mica mica2 mica2dot pc

.  Stop."

Then I have to use :"make mica2" instead. It seems work, and compiles to 
build/mica2/main.

Then I tried to flash the code to my micaz node by using "make mica2 reinstall mib510 /dev/ttyS1-1". (I assume it's using com1)
It reports a lot of flahs errors like this:

.....
"flash error at address 0x46b: file=0x93, mem=0xff
flash error at address 0x46c: file=0x29, mem=0xff
flash error at address 0x46d: file=0x01, mem=0xff
flash error at address 0x46e: file=0x90, mem=0xff
flash error at address 0x46f: file=0x93, mem=0xff
flash error at address 0x470: file=0x2a, mem=0xff
flash error at address 0x471: file=0x01, mem=0xff
flash error at address 0x472: file=0xa0, mem=0xff
flash error at address 0x473: file=0x93, mem=0xff
flash error at address 0x474: file=0x2b, mem=0xff
flash error at address 0x475: file=0x01, mem=0xff
flash error at address 0x476: file=0xb0, mem=0xff
flash error at address 0x477: file=0x93, mem=0xff
flash error at address 0x478: file=0x2c, mem=0xff
flash error at address 0x479: file=0x01, mem=0xff
flash error at address 0x47a: file=0x80, mem=0xff
flash error at address 0x47b: file=0x91, mem=0xff
flash error at address 0x47c: file=0x2d, mem=0xff
flash error at address 0x47d: file=0x01, mem=0xff
flash error at address 0x47e: file=0x88, mem=0xff
flash error at address 0x47f: file=0x23, mem=0xff
flash error at address 0x480: file=0x19, mem=0xff
flash error at address 0x481: file=0xf4, mem=0xff
flash error at address 0x482: file=0x8f, mem=0xff
flash error at address 0x483: file=0xef, mem=0xff
flash error at address 0x484: file=0x80, mem=0xff
flash error at address 0x485: file=0x93, mem=0xff
flash error at address 0x486: file=0x2d, mem=0xff
flash error at address 0x487: file=0x01, mem=0xff
flash error at address 0x488: file=0x90, mem=0xff
flash error at address 0x489: file=0x91, mem=0xff
flash error at address 0x48a: file=0x2d, mem=0xff
flash error at address 0x48b: file=0x01, mem=0xff
flash error at address 0x48c: file=0x9f, mem=0xff
flash error at address 0x48d: file=0x5f, mem=0xff
flash error at address 0x48e: file=0x90, mem=0xff
flash error at address 0x48f: file=0x93, mem=0xff
flash error at address 0x490: file=0x2d, mem=0xff
flash error at address 0x491: file=0x01, mem=0xff
flash error at address 0x492: file=0x80, mem=0xff
flash error at address 0x493: file=0x91, mem=0xff
flash error at address 0x494: file=0x05, mem=0xff
flash error at address 0x495: file=0x01, mem=0xff
flash error at address 0x496: file=0x8f, mem=0xff
flash error at address 0x497: file=0x5f, mem=0xff
flash error at address 0x498: file=0x80, mem=0xff
flash error at address 0x499: file=0x93, mem=0xff
flash error at address 0x49a: file=0x05, mem=0xff
flash error at address 0x49b: file=0x01, mem=0xff
flash error at address 0x49c: file=0xe9, mem=0xff
flash error at address 0x49d: file=0x2f, mem=0xff
flash error at address 0x49f: file=0x27, mem=0xff
flash error at address 0x4a0: file=0xed, mem=0xff
flash error at address 0x4a1: file=0x5f, mem=0xff
flash error at address 0x4a2: file=0xfe, mem=0xff
flash error at address 0x4a3: file=0x4f, mem=0xff
flash error at address 0x4a4: file=0x10, mem=0xff
flash error at address 0x4a5: file=0x82, mem=0xff
flash error at address 0x4a6: file=0x84, mem=0xff
flash error at address 0x4a7: file=0xe9, mem=0xff
flash error at address 0x4a8: file=0x92, mem=0xff
flash error at address 0x4a9: file=0xe0, mem=0xff
flash error at address 0x4aa: file=0x0e, mem=0xff
flash error at address 0x4ab: file=0x94, mem=0xff
flash error at address 0x4ac: file=0x8f, mem=0xff
flash error at address 0x4ad: file=0x00, mem=0xff
flash error at address 0x4ae: file=0x0e, mem=0xff
flash error at address 0x4af: file=0x94, mem=0xff
"

I searched threads before, some people recommend me to connect MIB510 board directly to serialport. I tried but the same thing happenes.
Does someone know what is going on here? Again, I am still confused why I have to use 
"make mica2" for my micaz node...

Thank you for your kind reply

---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070302/b850e997/attachment.html

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

Reply via email to