Hello everyone,

I have a 72k application that I am trying to inject it into a micaz mote 
using Deluge T2 without success. The mote is programmed with the deluge 
Basestation, and I can inject and reprogram smaller applications without 
any problem.

This is the content of  volumes-at45db.xml:

<volume_table>
   <volume name="GOLDENIMAGE" size="131072" base="0" />
   <volume name="DELUGE1" size="131072"/>
   <volume name="DELUGE2" size="131072"/>
   <volume name="DELUGE3" size="131072"/>
</volume_table>


Here is the output of tos-deluge serial@/dev/ttyUSB0:57600 -i 1 
build/micaz/tos_image.xml:


Flushing the serial port...
Checking if node is a Deluge T2 base station ...
Pinging node ...
Connected to Deluge nodes.
No valid image was detected.
--------------------------------------------------
Create image: /usr/bin/tos-build-deluge-image -i 1 build/micaz/tos_image.xml
Ihex read complete:
   65536 bytes starting at 0x0
    7316 bytes starting at 0x0
   72852 bytes in 2 sections
CRCs:
   0x4208 0xACF7 0x81F2 0xD24F 0x9EED 0x76EB 0xE83E
   0x7923 0xF8DE 0x0286 0xA116 0x69B5 0x6BAA 0xC73A
   0x2B6F 0x5DE1 0xBCC1 0x63AB 0x501B 0x600C 0xA259
   0x64CF 0x7380 0xE6DD 0x8811 0xE238 0xC337 0x5E8F
   0x68D6 0xB5BF 0x94BC 0x27A6 0x8CA7 0xC7D6 0x2493
   0x5A99 0xC819 0x8667 0x443A 0xBF80 0x3109 0x0498
   0xA812 0x895B 0x5933 0x957F 0xDC39 0x9966 0xC61A
   0xA548 0x2BEC 0x06DC 0xCFE1 0x3FD6 0x8A54 0x9FEC
   0x19D8 0x2747 0x6CD4 0x205E 0x6941 0x69E2 0x09CE
   0x54EB 0xCCA5 0xBA8E 0xDEBD
--------------------------------------------------
74352 bytes in 609.53 seconds (121.9822 bytes/s)
--------------------------------------------------
Replace image with:
   Prog Name:   �...@�ˉ��.�,Ý  ì
   UID:         0│0879C357
   C⎺└⎻␋┌␊␍ O┼: F⎼␋ O␌├ 03 19:56:01 2036
   P┌▒├°⎺⎼└:    ƒƒ)¡:¡K¡\¡Õ└‘
   U⎽␊⎼ ID:      .à°..���.���.
   Host Name:   /��/�-���
   User Hash:   0x9C910E94
   Size:        3746544003
   Num Pages:   168


For completeness, this is the result of make micaz:

mkdir -p build/micaz
tos-storage-at45db  /opt/tinyos-2.x/tos/platforms/micaz 
<volumes-at45db.xml >build/micaz/StorageVolumes.h || rm -f 
build/micaz/StorageVolumes.h
     compiling DynClusterTracking to a micaz binary
ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow 
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb 
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 
-Ibuild/micaz -DIDENT_APPNAME=\"DynClusterTrack\" 
-DIDENT_USERNAME=\"hmedeiro\" -DIDENT_HOSTNAME=\"hmedeiro-laptop\" 
-DIDENT_USERHASH=0x17eedc36L -DIDENT_TIMESTAMP=0x49e7880aL 
-DIDENT_UIDHASH=0x0879b826L -DDELUGE -I/opt/tinyos-2.x/tos/lib/net 
-I/opt/tinyos-2.x/tos/lib/net/drip -I/opt/tinyos-2.x/tos/lib/net/Deluge 
-I/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager 
-I/opt/tinyos-2.x/tos/lib/net/Deluge/BlockStorageManager 
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra 
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/avr 
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/micaz 
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/mica2 -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' 
-fnesc-dump='referenced(interfacedefs, components)' 
-fnesc-dumpfile=build/micaz/wiring-check.xml DynClusterTracking.nc -lm
/opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: 
#warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
     compiled DynClusterTracking to build/micaz/main.exe
            72852 bytes in ROM
             3692 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
     writing TOS image


Am I missing something?

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

Reply via email to