I haven't tried the gcc tools, I have been using the Wasabi tools,
which you can download from the Intel site as shown in the updated
installation instructions.
Lama
--- In intel-mote2-community@yahoogroups.com, "ledbett_j"
<john.ledbetter@...> wrote:
>
> Hello, I have followed the instructions located here
> <http://www.eecs.harvard.edu/%
7Ekonrad/projects/imote2Camera/IMote2-Inst\
> allation-Instructions.html> to build and set up the xscale gcc
> toolchain, which I am trying to use to build images with which to
proram
> the node.
>
> However something is going wrong somewhere in the process. When i
use
> xflash to program the node, it erased and programs with no errors,
but
> the node will not respond when it is restarted -- it does
nothing. I
> have tried installing the TinyOS Blink application as well as
custom
> code to simply toggle and LED, and nothing seems to work.
>
> When the node is restarted, the three components of the LED light
up
> (dimly) for a few seconds, and then the node turns off. (I assume
that
> this LED blink occurs every time the node is started)
>
> Here's a sample of what I've been trying to do:
>
> ~/tinyos-1.x/apps/Blink$ make install imote2 debug
> mkdir -p build/imote2
> xscale-elf-gcc -c -mcpu=iwmmxt -mfpu=softfpa
> /home/ledbettj/build/tinyos-
1.x/tos/platform/pxa27x/../imote2/flash.s
>
> <application compiles>
>
> compiled Blink to build/imote2/main.exe
> 152256 bytes in ROM
> 4608 bytes in RAM
> xscale-elf-objcopy --output-target=binary build/imote2/main.exe
> build/imote2/main.bin.out
> dwarf2bd build/imote2/main.exe
> Intel(R) DWARF2BD Object Converter, Version 2.9.24
> Copyright (C) 2001-2005 Intel Corporation. All rights reserved.
> installing imote2 binary using the parallel port jtag adapter
> /cygdrive/c/Program\ Files/Intel/SDT2.0.1/xflash/xflash.exe -p
imote2
> -tt "INTEL(R) JTAG CABLE" build/imote2/main.bin.out
> XFLASH - Intel(R) JTAG flash memory programmer - Version: 1.5.3
> Copyright(C) 2001-2005 Intel Corporation. All rights reserved.
>
> Selected platform: IMOTE2
>
> Task : burn flash
> File to burn : build/imote2/main.bin.out
>
> Connecting to target via "lpt1:" ...
> JTAG debug handler uses virtual address range
0x01000020..0x010007FF
> INFO: To enable Mini-I-cache breakpoints use the "MINIIBP" target
> option.
> take initial batchfile: "c:/Program
Files/Intel/SDT2.0.1/xflash/action-
> flash.xdb"
> Memory Successfully Burned.
> Prepare the burn algorithm...
> Downloading the burn algorithm...finished
> Detect and Verify File Format...
> Erasing Blocks... Current Block: 0 at address 0x0
> Erasing Blocks... Current Block: 1 at address 0x8000
> Erasing Blocks... Current Block: 2 at address 0x10000
> Erasing Blocks... Current Block: 3 at address 0x18000
> Erasing Blocks... Current Block: 4 at address 0x20000
> Progress: 100%
> Burning Binary File...
> Burning Binary File... 148 KBytes of 148 KBytes remaining.
> Burning Binary File... 84 KBytes of 148 KBytes remaining.
> Burning Binary File... 20 KBytes of 148 KBytes remaining.
> Progress: 100%
> File successfully burned.
> -------------------------------------------------------------------
-----\
> ------------
>
> Any suggestions?
>
> Thanks,
>
> John
>