I used LabVIEW and MATLAB to close the ports. No change.
In my umpteenth reinstallation, I now see this behaviour:
<cygwinoutput>
$ MIB510=COM5 make mica2 install
mkdir -p build/mica2
compiling Blink to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -Wall
-Wshadow -DDE
F_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
-fnesc-cfile=build/mica2/app.c Blink.nc -lm
compiled Blink to build/mica2/main.exe
1644 bytes in ROM
48 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
make[1]: Entering directory `/opt/tinyos-1.x/apps/Blink'
installing mica2 binary
uisp -dprog=mib510 -dserial=COM5 -dpart=ATmega128 --wr_fuse_e=ff --erase
--upload if=build/mica2/main.srec
</cygwinoutput>
Cygwin is stuck at this line as I write this email. While the programmer
board LED doesn't glow now, Cygwin has stopped responding to Ctrl+C.
I ran TOScheck and the only error that I got was that the 'dot' was
missing in the PATH variable.
To recant, the procedure was:
1. I installed the installation package with tinyos-1.1.0 - programs
compile, motes programmed, all A-OK!
2. I upgrade cygwin to the version given on the tinyos website
(cygwin-1.2a)
3. I tried programming the motes here - no response from the uisp.
programs compile, and the build folder is populated, but the programming
part hangs.
4. I then upgraded nesc with nesc-1.1.2b-1.cygwin.i386
5. Try programming the motes, no luck. programs compile, programmer hangs.
6. Upgraded TinyOS with tinyos-1.1.10Jan2005cvs-1.cygwin.noarch
7. Try programming the motes, no luck again. Programs compile programmer
hangs. (output shown above). Atleast the bytes in ROM and RAM aren't 0
like in the previous iteration.
Please help, at wit's end.
Sankar.
On Tue, 11 Jul 2006 09:09:15 -0500, Conor Todd <[EMAIL PROTECTED]>
wrote:
Sometimes, under WinXP, I have to use something like Hyperterminal to
initially open and close the COM port to which the MIB510 is attached
before
programs under Cygwin can do it. It might just be my laptop, though.
- Conor
On 7/10/06, Sankar Gorthi <[EMAIL PROTECTED]> wrote:
As you can see, the compilation results show this output:
compiled Blink to build/mica2/main.exe
0 bytes in ROM
0 bytes in RAM
Is there anything in particular that can be said about this?
Sankar.
On Mon, 10 Jul 2006 18:34:01 -0500, Sankar Gorthi
<[EMAIL PROTECTED]> wrote:
> It's not your typical Flash error of death, but it is just as
> frustrating.
>
> Steps adhered to:
> 1. Install tinyos-1.1.0 with cygwin, etc. (typical installation)
> 2. Try programming mica2 with Blink - works fine.
> 2. Upgrade Cygwin with the latest setup file from www.cygwin.com
> 3. Upgrade nesc to nesc-1.1.2b ...
> 4. Upgrade tinyos to tinyos-1.1.10Jan2005cvs-1.cygwin.noarch
> 5. Try programming a mica2 mote with Blink:
> Result:
> $ MIB510=COM4 make mica2 install
> compiling Blink to a mica2 binary
> ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -Wall
> -Wshadow -DDE
> F_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
> -fnesc-cfile=build/mica2/ap
> p.c Blink.nc -lm
> compiled Blink to build/mica2/main.exe
> 0 bytes in ROM
> 0 bytes in RAM
> avr-objcopy --output-target=srec build/mica2/main.exe
> build/mica2/main.srec
> make[1]: Entering directory `/opt/tinyos-1.x/apps/Blink'
> installing mica2 binary
> uisp -dprog=mib510 -dserial=COM4 -dpart=ATmega128 --wr_fuse_e=ff
> --erase --uplo
> ad if=build/mica2/main.srec
>
> At this point the programmer LED (red) glows and then nothing. Cygwin
> and the programmer board maintain this state until I hit ctrl+c to
stop
> the process.
>
> I tried installing tinyos-1.1.10 without upgrading cygwin, but it gave
> me the "__getreent" error.
>
> I tried installing the cygwin upgrade given on the tinyos.net/download
> page. No luck.
>
> I tried changing the programmer (to another MIB510). No luck there
> either.
> Different mote, same problem.
>
> Please help. Do I need to use a different version of cygwin or
tinyos? I
> need to use the tinyos-1.1.10 version as it is the recommended version
> for programming the Cricket series of motes.
>
> Sankar.
>
> Extraneous info:
> I added a PCI card to add 4 serial ports to my PC which came with none
> (NetMos Quad ports: PCI NM9845CV). The drivers for this were good and
> I've tried the ports with MATLAB, LabVIEW, Hyperlink etc. No problems
> there. Ports are installed properly. Com4 is the first port on this
card.
>
>
--
No opera plot can be sensible, for people do not sing when they are
feeling sensible. - W. H. Auden
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
No opera plot can be sensible, for people do not sing when they are
feeling sensible. - W. H. Auden
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help