You can find all information about the issue and how to produce it on GitHub: github.com/.../ncs-2.6.0-connect-crash
You can find all information about the issue and how to produce it on GitHub: github.com/.../ncs-2.6.0-connect-crash
I've updated the code on the linked repository(please read the commit messages)
- I have copied peripheral_hr_coded. This by itself doesn't crash
- I have disabled the coded phy, changed the advertising name and removed the ext flag from the advertising options(but still using the ext API). Still doesn't crash
- I have initialized UART DMA. Still doesn't crash
- I have switched to zephyrs non ext advertising API. Still doesn't crash
- I have disabled CONFIG_BT_EXT_ADV. Now it crashes.
I tested a few more permutations and it looks like it's mostly important that DMA UART is initialized and that CONFIG_BT_EXT_ADV is disabled. To me, this still looks like a softdevice_controller bug rather than a usage bug.
I've updated the code on the linked repository(please read the commit messages)
- I have copied peripheral_hr_coded. This by itself doesn't crash
- I have disabled the coded phy, changed the advertising name and removed the ext flag from the advertising options(but still using the ext API). Still doesn't crash
- I have initialized UART DMA. Still doesn't crash
- I have switched to zephyrs non ext advertising API. Still doesn't crash
- I have disabled CONFIG_BT_EXT_ADV. Now it crashes.
I tested a few more permutations and it looks like it's mostly important that DMA UART is initialized and that CONFIG_BT_EXT_ADV is disabled. To me, this still looks like a softdevice_controller bug rather than a usage bug.