[Tinyos-help] FW: Lesson 10 tinyOS-2.x: problem with make yamp reinstall

sergio mena doce venturi_78 at hotmail.com
Tue Sep 4 08:34:12 PDT 2007





From: venturi_78 at hotmail.com
To: tinyos-help-bounces at millennium.berkeley.edu
Subject: Lesson 10 tinyOS-2.x: problem with make yamp reinstall
Date: Tue, 4 Sep 2007 17:28:25 +0200







Hello again.

I'm working with tinyOS-2.x (beta) under Linux Ubuntu 7.04. I'm doing lessons for tinyOS-2.x and I've a new problem at the end of lesson 10 ( Platforms ). I've followed steps like tells lesson 10. I've created virtual platform called yamp (certainly, lesson 10 doesn't tell we need to create a file in /tos/platforms/yamp called platform.h that it's void, else compiler complains; does anybody to clarify this issue?). At the end of the lesson I've compiled Blink application for yamp platform by typing "make  yamp" at the Blink directory. Previously I've tested the mote port by typing "motelist":

tsc at tsc-laptop:/opt/tinyos-2.x/apps/Blink$ motelist
Reference  Device           Description
---------- ---------------- ---------------------------------------------
XBP1AQ9X   /dev/ttyUSB0     XBOW Crossbow Telos Rev.B

Then, I've tried to install into the mote telosb:


tsc at tsc-laptop:/opt/tinyos-2.x/apps/Blink$ make yamp install bsl,/dev/ttyUSB0
mkdir -p build/yamp
    compiling BlinkAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   BlinkAppC.nc -lm 
    compiled BlinkAppC to build/yamp/main.exe
            2418 bytes in ROM
              55 bytes in RAM
msp430-objcopy --output-target=ihex build/yamp/main.exe build/yamp/main.ihex
    writing TOS image
cp build/yamp/main.ihex build/yamp/main.ihex.out
    installing yamp binary using bsl
msp430-bsl --telos -c /dev/ttyUSB0 -r -e -I -p build/yamp/main.ihex.out
Traceback (most recent call last):
  File "/opt/msp430/bin/msp430-bsl", line 12, in <module>
    from msp430.util import curry, hexdump, makeihex
ImportError: No module named msp430.util
make: *** [program] Error 1

As you can see, we have an error "No module named msp430.util". I don't understand his meaning. How can I solve this error?

I would be very grateful with any response.

Thanks for reading.


Consigue el nuevo Windows Live Messenger Pruébalo

_________________________________________________________________
Llama a tus amigos de PC a PC: ¡Es GRATIS!
http://get.live.com/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070904/55cabf96/attachment.htm


More information about the Tinyos-help mailing list