contiki

Unreadable output results when typing “make login”

半城伤御伤魂 提交于 2019-12-25 01:53:57
问题 I want to test the hello world application in a z1 mote . Unfortunately, when I try to visualize the results in the terminal using this command: make z1-reset & make login , I always get an unreadable result: ������������������������󠰮����à������������������������������頲�� I run the test in Ubuntu 12.04 using contiki 2.7 and msp430-gcc 4.6.3 Are there any necessary drivers for zolertia z1 motes that I forgot to install? Thanks in advance. Best regards. 回答1: I faced the same problem a few weeks

Contiki mote type creation error when trying to use libtomcrypt library (rsa public key generation)

北慕城南 提交于 2019-12-22 18:04:25
问题 I am trying to work on RSA public key generation using libtomcrypt library for my school project. But I am unable to load the library in Cooja using Contiki OS. I tried to compile the file I need into an object file and load it in .csc file. This is the error message I got: se.sics.cooja.GUI$SimulationCreationException: Mote type creation error: Error when creating corecomm instance: Lib1 at se.sics.cooja.GUI.loadSimulationConfig(GUI.java:3440) at se.sics.cooja.GUI.loadSimulationConfig(GUI

Contiki UDP packet transmission duration with CC2538

故事扮演 提交于 2019-12-22 12:33:15
问题 Could someone explain me what is going on within the Contiki-OS when it transmits an UDP packet? Here is the current consumption of my device in details running with the CC2538 chip: My question is: why it takes so long to transmit an UDP broadcast packet (about 250ms) knowing that theoretically at 250kbps the packet of 408 bits length should be transmitted in approximately 2ms? I'd understand if the transmission last lets say ten milliseconds but here the difference is huge. I use the

How to increase ROM size for sky mote in Contiki-OS, cooja simulation?

此生再无相见时 提交于 2019-12-19 04:24:15
问题 I want to use sky mote in my Cooja simulation so that I can access the full functionality of the collect-view tool such as power readings. However I have had to port extra libraries for my project so the size of the program far exceeds the memory provided by the sky-mote. Cooja-mote can support the program size as it uses native system but it won't provide me with power readings in collect-view. How can I increase the ROM & RAM size of sky-mote for Cooja simulation without loosing power

Simulating different temperatures on Cooja/Contiki

ⅰ亾dé卋堺 提交于 2019-12-18 09:45:04
问题 I'm having trouble reading different temperature readings on Cooja. I've done the following: Created a source file that initializes a light- and temperature-sensor. Created a simulation using a Sky mote. Ran the simulation with a network of 8 motes. Each mote reads the same temperature which is useless for what I want. I've spent the last 8 hours looking through threads, documentation (including the Contiki wiki) and haven't been able to come up with anything. If I'm misunderstanding the way

Contiki: Error if ELF File contains calculation with several unsinged int

被刻印的时光 ゝ 提交于 2019-12-13 05:19:55
问题 I encountered some problems while working with the contiki ELF-loader and hope that someone would be so kind to provide me more insight or some hints to solve these problems. In the following I try to keep the problem description short. My aim is to: Execute an ELF file on a T-Mote-Sky. This ELF file contains a contiki process with a computation (linear regression of data samples over time). Using "cooja" for simulation Code specific information: ELF file size about 2000 bytes quite large

Missing platform-conf.h in Thingsquare Mist (Contiki-OS)

不羁岁月 提交于 2019-12-11 17:51:07
问题 I cloned the Contiki-OS port Thingsquare mist to work with Texas Instruments EXP430 board. When I run Hello World from the respective folder make TARGET=mist-exp5438 I get the error that platform-conf.h is missing: In file included from ../../contiki/core/./net/rime/rimeaddr.h:57:0, from ../../contiki/core/net/rime/rimeaddr.c:45: ../../platform/mist-exp5438/./contiki-conf.h:36:27: fatal error: platform-conf.h: No such file or directory compilation terminated. Does anyone know how to write a

Cannot fit er-example-server to TelosB

*爱你&永不变心* 提交于 2019-12-11 13:48:00
问题 I am trying to make 2 motes connect via a border-router, using the contiki 3 examples. I compiled er-example-client but it does not fit on my Crossbow TelosB mote. It comes up with error message: er-example-server.sky section '.text' will not fit in region 'rom' I am using Instant Contiki, which has msp430-gcc v4.7. The same seems to happen in Cooja as well, using Sky motes. 回答1: The application doesn't fit the Sky/TelosB ROM. Using the msp430-4.7.x provides a nice size reduction, but doesn't

Linux userspace code to communicate between Linux board and each node running contiki udp sender example code

蹲街弑〆低调 提交于 2019-12-11 13:39:06
问题 I am using Contiki to create an IoT product involving multiple STM32L152 based nodes and a Linux board. I have one embedded Linux board (based on iMX6) that receives data from nodes, sends to the internet using cellular and 10 nodes that sense the different environmental parameter and deliver to Linux board. Linux board has a coprocessor that running border/edge router code, UART2 lines of that coprocessor is connected to Linux board. I use Contiki tool tunslip6 to create tun0 interface, I am

contiki-z1-main.c : “undefined reference to 'autostart_processes'”

点点圈 提交于 2019-12-11 12:07:13
问题 When I try to compile a .c file with Cooja, Contiki, there are these errors: contiki-z1-main.c(.init9+0x200): undefined reference to `autostart_processes` contiki-z1-main.c(.init9+0x224): undefined reference to `autostart_processes` Does anyone know the issue? 回答1: You haven't defined the AUTOSTART_PROCESSES() , so Contiki does not know where to start executing your application. For eg Blink, PROCESS(blink_process, "Blink example"); AUTOSTART_PROCESSES(&blink_process); 回答2: Becasuse of that