- 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
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
