I downloaded the TYMO code from Google Code repository--> http://code.google.com/p/tinyos-main/source/browse/#svn/trunk/tos/lib/net

I don't understand why in the TYMO example application you must add the "volumes-stm25p.xml" file (I compile for TelosB) with the following information:

   <volume_table>
   <volume name="DYMODATA" size="131072" />
   </volume_table>

Regards,
Jose A.

El 29/11/2010 17:42, Mohamed Maalej escribió:
hi,

Please can you tell me from where did you download the TYMO protocol librairy?

Best regards,
mohamed

2010/11/27 "José A. Tarifa" <[email protected] <mailto:[email protected]>>

    I answer myself :)
    I've updated "python" component to Python 2.5.1

    El 26/11/2010 21:42, "José A. Tarifa" escribió:
    Hi!
    I want to use the TYMO (DYMO) protocol. I've download
    "\tos\lib\net\tymo" and "\app\tests\TestTymo" files (because they
    weren't in my default TinyOS installation).
    I try to compile the application: "make telosb", but I get the
    following (errors):

    ----------------------------------------------(cygwin console)
    mkdir -p build/telosb
    tos-storage-stm25p  /opt/tinyos-2.x/tos/platforms/telosb
    <volumes-stm25p.xml >build/telosb/StorageVolumes.h || rm -f
    build/telosb/
    StorageVolumes.h
    Traceback (most recent call last):
      File "/usr/bin/tos-storage-stm25p", line 52, in ?
        from subprocess import Popen, PIPE
    ImportError: No module named subprocess
        compiling TestC to a telosb binary
    ncc -o build/telosb/main.exe  -Os -O -I../../../tos/lib/net/tymo
    -I../../../tos/lib/net/tymo/dymo -I../../../tos/lib/net/tymo/mh -
    mdisable-hwmul -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
    -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_
    AM_GROUP=0x22 -Ibuild/telosb -DIDENT_APPNAME=\"TestC\"
    -DIDENT_USERNAME=\"User\" -DIDENT_HOSTNAME=\"User\"
    -DIDENT_USERHASH=0xe47281
9bL -DIDENT_TIMESTAMP=0x4cf016a3L -DIDENT_UIDHASH=0xe0e3716cL TestC.nc -lm
    /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
    #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
    ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:6:28: error:
    StorageVolumes.h: No such file or directory
    In file included from
    ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:34,
                     from
    ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
                     from TestC.nc:11:
    In component `DymoEngineM':
    ../../../tos/lib/net/tymo/dymo/DymoEngineM.nc: In function
    `incr_seqnum':
    ../../../tos/lib/net/tymo/dymo/DymoEngineM.nc:83: warning:
    decimal constant is so large that it is unsigned
    In file included from
    ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
                     from TestC.nc:11:
    In component `DymoServiceC':
    ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc: At top level:
    ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:35:
    `VOLUME_DYMODATA' undeclared here (not in a function)
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:38:28: error:
    StorageVolumes.h: No such file or directory
    In file included from
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorC.nc:52,
                     from
    /opt/tinyos-2.x/tos/chips/stm25p/ConfigStorageC.nc:60,
                     from
    ../../../tos/lib/net/tymo/dymo/DymoServiceC.nc:35,
                     from
    ../../../tos/lib/net/tymo/dymo/DymoNetworkC.nc:38,
                     from TestC.nc:11:
    In component `Stm25pSectorP':
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function
    `physicalAddr':
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154:
    `STM25P_VMAP' undeclared (first use in this function)
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154: (Each
    undeclared identifier is reported only once
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154: for each
    function it appears in.)
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:154:
    subscripted value is neither array nor pointer
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function
    `Sector.getNumSectors':
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:168:
    `STM25P_VMAP' undeclared (first use in this function)
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:168:
    subscripted value is neither array nor pointer
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function
    `Sector.erase':
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:221:
    `STM25P_VMAP' undeclared (first use in this function)
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:221:
    subscripted value is neither array nor pointer
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc: In function
    `Spi.sectorEraseDone':
    /opt/tinyos-2.x/tos/chips/stm25p/Stm25pSectorP.nc:228:
    `STM25P_VMAP' undeclared (first use in this function)
    $
    make: *** [exe0] Error 1
    ----------------------------------------------(cygwin console)

    Any idea what happens?
    I'm using Cygwin on WinXP and TinyOS 2.1

    Thanks in advance!!
-- Jose A.
    Seville, Spain


    _______________________________________________
    Tinyos-help mailing list
    [email protected]  
<mailto:[email protected]>
    https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- Jose A.
    Seville, Spain


    _______________________________________________
    Tinyos-help mailing list
    [email protected]
    <mailto:[email protected]>
    https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Mohamed Maâlej
Tél: 96481112


--
Jose A.
Seville, Spain

<<attachment: jostargal.vcf>>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to