---------- Forwarded message ----------
From: David Gay <[EMAIL PROTECTED]>
Date: Jan 10, 2006 8:06 AM
Subject: Re: [Tinyos-help] Re: Trouble uploading to micaz on 1.1.14
To: [EMAIL PROTECTED]


On 1/9/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
> I had a bit of trouble with the TOS rpm because it refused to admit that
> I had nesc 1.1 installed so I had to use -nodeps to get it to DWIW. Also
> once the dust was clear, the platform/micaz/HPLPowerManagementM.nc file
> was still there and caused compile problems -- doing some code archeology
> I think I determined that the file is superceeded by that in the mica(noZ)

You'll have problems if you get that one. But I would be surprised if
it wasn't getting the one from the mica2 directory.

> directory (and accessed through the usual inexplicable and undocumented
> TOS include process sub( if the "inexplicable and undocumented" part is
> an oversight on my part please someone tell me where to look )end-sub ).

Compile with -v, and you'll see all the -I directives. Look at the
.platform file in each platform directory to see what "extra" stuff a
platform adds. Read the ncc perl script if you want to know the gory
details.

>
> Luckily, I kept a full copy of my working 1.1.7 system, which STILL works
> fine. What's more I can program mica2's in the new system just fine.
>
> The micaz symptom is as described before, (by turning on -v=4) I see that
> no reply is received from the target and the uisp hangs waiting.
>
> I was happy to see that Michael Smith had a ready answer: use /dev/ttySn
> however I get:
>
>      Error: No such file or directory
>       -> /dev/ttyS3
>
> (I'm using a USB converter that resides at COM3 on my WINXP box). The whole
> /dev/trick thing on Widows has always been a mystery to me, but it has on
> occasion JustWorked(TM), before.

Recent versions of uisp (probably not those in earlier rpms, though)
do warn when you try to use COMn (and, I believe, switch automatically
to /dev/ttyS...). The trick that you're missing is that COMn is
/dev/ttySn-1, so you want /dev/ttyS2. Blame cygwin and or windows for
COMn not working...

David Gay

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

Reply via email to