[Tinyos-help] Lesson 10: trouble with Blink yamp application
Kevin Klues
klueska at gmail.com
Tue Sep 4 11:42:05 PDT 2007
You are missing some python modules that msp430-bsl depends on.
Kevin
On 9/4/07, Jose Lopez <parseval at gmail.com> wrote:
>
>
> 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.
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
~Kevin
More information about the Tinyos-help
mailing list