New to flocklab

80 views
Skip to first unread message

Vishal Rathod

unread,
Jul 28, 2016, 5:39:10 AM7/28/16
to FlockLab users
Hello,

I am a new one to flocklab.
I was trying to run for checking er-rest-server communicate with border router. 
I had node 1 as a border router and node 2, 4, 8, 15 and 33 as  a er-rest-server nodes. I ran it for 60 minutes to see server nodes communicated with border-router as expected.  Here, I attach a xml file of my test.
I dont know how to connect border router but I tried with following command but it shows me error.

sudo ./border-router.sky -a whymper.ee.ethz.ch -p 50101 aaaa::1/64 

I already added images of border router and er-rest-server to flocklab test images. 
When I started my test it reply me with following error:

Your test has been prepared and is going to start as planned, but consider the following warnings:

         * Test-start script on observer ID 33 failed with error code EPERM and error message 28/07/2016 09:07:59 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Programming...

An error occurred:
command failed (DATA_NAK)
Cleaning up after error...

28/07/2016 09:07:59 UTC - flocklab_starttest.py - ERRO - Tried reprogramming with ['tg_reprog.py', '--image=/home/root/mmc/flocklab/curtest/29951/tmpe3IVd9.ihex', '--target=tmote', '--core=0', '--noreset']
28/07/2016 09:08:01 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
28/07/2016 09:08:01 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.
28/07/2016 09:08:01 UTC - flocklab_starttest.py - ERRO - Process finished with 3 errors:
28/07/2016 09:08:01 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Programming...

An error occurred:
command failed (DATA_NAK)
Cleaning up after error...

it is same for all the nodes except border router. Here, I attach a screenshot of all.

Please help me to solve this issue.

Waiting for your positive reply.


Thanks & Regards,

Vishal Rathod.
Test1.xml
Screenshot from 2016-07-28 15-04-51.png
Screenshot from 2016-07-28 15-04-13.png

Roman Lim

unread,
Jul 28, 2016, 6:55:53 AM7/28/16
to flockla...@googlegroups.com
Hi Vishal

Your program image looks a bit strange. It seems as if your .text segment starts at address 0x3100. On the Tmote sky node, this address points to RAM, not to flash memory (which starts at 0x4000). Did you try to program a node on your desk with this image?

"
readelf -l 15325.Tmote.Contiki.exe

Elf file type is EXEC (Executable file)
Entry point 0x3100
There are 4 program headers, starting at offset 52

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x0000304c 0x0000304c 0x0bc86 0x0bc86 R E 0x1
LOAD 0x00bc86 0x00001100 0x0000ecd2 0x0019c 0x018c8 RW 0x1
LOAD 0x00be22 0x000029c8 0x0000ee6e 0x00000 0x00002 RW 0x1
LOAD 0x00be22 0x0000ffc0 0x0000ffc0 0x00040 0x00040 R E 0x1

Section to Segment mapping:
Segment Sections...
00 .text .rodata
01 .data .bss
02 .noinit
03 .vectors
"

Cheers
Roman
> --
> You received this message because you are subscribed to the Google Groups "FlockLab users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to flocklab-user...@googlegroups.com <mailto:flocklab-user...@googlegroups.com>.
> To post to this group, send email to flockla...@googlegroups.com <mailto:flockla...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/flocklab-users.
> For more options, visit https://groups.google.com/d/optout.

Vishal Rathod

unread,
Jul 28, 2016, 8:08:46 AM7/28/16
to FlockLab users
Thanks sir.

I have one question that in what format I should upload the image. (sky or any other).
I uploaded 15324 as a sky mote (border router) and 15325 as a zolerita mote (er-rest-server). 
Am I right or wrong? 

Regards,
Vishal

Roman Lim

unread,
Jul 28, 2016, 8:34:19 AM7/28/16
to flockla...@googlegroups.com
You find a list of available nodes in the testbed status list at https://www.flocklab.ethz.ch/user/testbedstatus.php
Currently, FlockLab does not have any "zolerita mote" nodes.

Cheers
Roman

Roman Lim

unread,
Jul 28, 2016, 8:36:59 AM7/28/16
to flockla...@googlegroups.com
FlockLab accepts the ELF file format (see https://www.flocklab.ethz.ch/wiki/wiki/Public/Man/Tutorials/Tutorial2).
Reply all
Reply to author
Forward
0 new messages