OpenMotes fail to program

36 views
Skip to first unread message

Kasun Hewage

unread,
Jan 6, 2017, 10:40:18 AM1/6/17
to flockla...@googlegroups.com
Hi,

I am getting following errors when I am trying to use OpenMotes. Any
idea why they are failing to program. Note that I am using a firmware
compiled for Zolertia Firefly nodes.

Thanks


-------- Forwarded Message --------

The test with ID 34872 could not be started as planned because of the following errors:

* None of the requested observers could successfully start the test.
* Test-start script on observer ID 31 failed with error code EPERM and error message 06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpP5IE8K.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Tried reprogramming with ['tg_reprog.py', '--image=/home/root/mmc/flocklab/curtest/34872/tmpP5IE8K.bin', '--target=openmote', '--core=0', '--noreset']
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Process finished with 3 errors:
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpP5IE8K.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.

* Test-start script on observer ID 22 failed with error code EPERM and error message 06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpyEsphn.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Tried reprogramming with ['tg_reprog.py', '--image=/home/root/mmc/flocklab/curtest/34872/tmpyEsphn.bin', '--target=openmote', '--core=0', '--noreset']
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Process finished with 3 errors:
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpyEsphn.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.

* Test-start script on observer ID 6 failed with error code EPERM and error message 06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpJRDnpN.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Tried reprogramming with ['tg_reprog.py', '--image=/home/root/mmc/flocklab/curtest/34872/tmpJRDnpN.bin', '--target=openmote', '--core=0', '--noreset']
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Process finished with 3 errors:
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpJRDnpN.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.

* Test-start script on observer ID 23 failed with error code EPERM and error message 06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpnORamt.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:23 UTC - flocklab_starttest.py - ERRO - Tried reprogramming with ['tg_reprog.py', '--image=/home/root/mmc/flocklab/curtest/34872/tmpnORamt.bin', '--target=openmote', '--core=0', '--noreset']
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Process finished with 3 errors:
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpnORamt.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.

* Test-start script on observer ID 15 failed with error code EPERM and error message 06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpgBY1EO.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Tried reprogramming with ['tg_reprog.py', '--image=/home/root/mmc/flocklab/curtest/34872/tmpgBY1EO.bin', '--target=openmote', '--core=0', '--noreset']
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Process finished with 3 errors:
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpgBY1EO.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.

* Test-start script on observer ID 8 failed with error code EPERM and error message 06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpWAV3cn.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:24 UTC - flocklab_starttest.py - ERRO - Tried reprogramming with ['tg_reprog.py', '--image=/home/root/mmc/flocklab/curtest/34872/tmpWAV3cn.bin', '--target=openmote', '--core=0', '--noreset']
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Process finished with 3 errors:
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Error 5 when programming target image: Opening port /dev/ttyS1, baud 230400
Reading data from /home/root/mmc/flocklab/curtest/34872/tmpWAV3cn.bin
ERROR: Can not Overwrite ROM Boot Loader Backdoor Configuration

06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not start database daemons for used services because of previous errors in start script.
06/01/2017 15:21:25 UTC - flocklab_starttest.py - ERRO - Could not configure services because of previous errors in start script.


Andreas Dröscher

unread,
Aug 13, 2017, 7:15:07 AM8/13/17
to FlockLab users, kasun....@it.uu.se
I'm a little late, sorry about that. I've decided to respond anyway, it might be useful for others.

The flocklab_starttest.py expects a 512k binary. Could your executable by any chance be compiled for smaller or larger flash size?

Kasun Hewage

unread,
Aug 14, 2017, 5:57:08 AM8/14/17
to Andreas Dröscher, FlockLab users
Thanks a lot. Due to the way that the coffee file system is configured
in Contiki, ".text" section of the vector table starts from 0x00202000.
This results in incorrect size. I managed fixed the issue by setting the
size of coffee file system to zero.

Best regards,
Kasun Hewage
Reply all
Reply to author
Forward
0 new messages