contiki-os / contiki

The official git repository for Contiki, the open source OS for the Internet of Things
http://www.contiki-os.org/
Other
3.72k stars 2.58k forks source link

Contiki crashes when calling NETSTACK_RADIO.off() #1799

Closed jcole123 closed 8 years ago

jcole123 commented 8 years ago

I'm running Contiki on a custom 5x5mm board and everything is working with the exception of turning the radio off. It looks like CMD_ABORT in rx_off (ieee-mode.c) is causing it to crash, which is odd because rf_core_send_cmd returns RF_CORE_CMD_OK when it's called, but if I run rx_off with CMD_ABORT commented out it doesn't crash. I've tested the radio in SmartRF studio as well as Contiki with 100% duty cycle and I'm able to send/receive with no issues.

g-oikonomou commented 8 years ago

https://github.com/contiki-os/contiki/blob/master/platform/srf06-cc26xx/README.md

This port is only meant to work with 7x7mm chips