reubenct / contiki-modmac

Project repository with modifications to Contiki3.0 for a modular MAC layer.
Other
0 stars 0 forks source link

Cooja simulation error: rpl-udp with ALOHA #1

Open reubenct opened 5 years ago

reubenct commented 5 years ago

Simulating rpl-udp with sky motes and ALOHA as MAC layer in Cooja interrupted with following Contiki error:

Executing MSP430X instruction but MCU is not a MSP430X

Stack Trace: number of calls: 8 PC: $000c2
  fkn at $00c0 (local) called from PC: $0e354 (elapsed: 4)
  mac_call_sent_callback (strncmp.c) called from PC: $0b660 (elapsed: 19)
  send_one_packet (local in nullrdc.c) called from PC: $0b69e (elapsed: 12733)
  send_packet (local in nullrdc.c) called from PC: $0b598 (elapsed: 12738)
  transmit_packet (local in aloha.c) called from PC: $05ee0 (elapsed: 12747)
  process_thread_ctimer_process (local in ctimer.c) called from PC: $063b6 (elapsed: 12880)
  call_process (local in process.c) called from PC: $06546 (elapsed: 12916)
  process_run (strncmp.c) called from PC: $042ba (elapsed: 14805)

The error message (no. of calls) varies when the parameter MAX_PAYLOAD_LEN in udp-client.c is changed.

reubenct commented 5 years ago

the time at which error occurs depends on the delay used, and the packet sending interval of upper layer.