Skip to content

esp32c6: esp32h2: Openthread issue #98782

@raffarost

Description

@raffarost

Describe the bug

Attempting to cycle ifconfig down/up at CLI causes an error message:

uart:~$ ot ifconfig down
Done
uart:~$ ot ifconfig up
E (1740) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
Done

Also, running sample COAP should lead Openthread to naturally form a network, but this does not happen and both nodes end up with leader role:

uart:~$ ot state
leader
Done

Steps to reproduce

  1. Compile COAP Openthread sample (one node as server):

west build -b esp32c6_devkitc samples/net/openthread/coap/ -p -T sample.net.openthread.ftd.coap.server
west build -b esp32h2_devkitm samples/net/openthread/coap/ -p

  1. Attempt to cycle interface state at CLI:

ot ifconfig down
ot ifconfig up

(error message is observed)

  1. Reset device, as interface won't be back up properly.

  2. Let both nodes settle their role and verify they end up as leader:

uart:~$ ot state
leader
Done

  1. Server LED can't be toggled as network isn't formed.

Relevant log output

uart:~$ ot ifconfig up
E (14484) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
Done
uart:~$ ot ifconfig up
Done
uart:~$ ot thread start
Done
uart:~$ E (18081) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18082) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18083) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18083) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18084) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18084) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18085) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18086) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18086) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18087) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
E (18088) ieee802154: ieee802154_mac_init(817): IEEE802154 MAC init failed
[00:00:48.232,000] <err> ieee802154_esp32: TX timeout
[00:00:48.333,000] <err> ieee802154_esp32: TX timeout
[00:00:48.434,000] <err> ieee802154_esp32: TX timeout
[00:00:48.535,000] <err> ieee802154_esp32: TX timeout

Impact

Showstopper – Prevents release or major functionality; system unusable.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: ESP32Espressif ESP32

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions