Crash on connect with NCS 2.6.0

You can find all information about the issue and how to produce it on GitHub: github.com/.../ncs-2.6.0-connect-crash

Parents
  • Hi

    I'm very sorry, for some reason I thought uart_rx_enable was enabling the radio peripheral for some reason, but I see I got way ahead of myself. I'm very sorry about the confusion here.

    Taking another look at the sample you're using I see you're basing your sample on the peripheral_hr sample, which is a Zephyr project, not tested with the nRF SoftDevice controller, so that might be the issue here, although I agree it's very strange it only propagates when uart_rx_enable and the SoftDevice controller is used.

    Please compare your project with the peripheral_hr_coded which is designed and tested for the nRF SoftDevice controller. 

    Bus faults are a bit tricky to debug, but you can try to check Faulting instruction address (r15/pc): 0x0000bb74 for what address this line is pointing to, you can use the command window in your build folder and the following command to get a file name and line number for that address: arm-none-eabi-addr2line -e _build/zephyr/zephyr.elf 0xbb74.

    Best regards,

    Simon

Reply
  • Hi

    I'm very sorry, for some reason I thought uart_rx_enable was enabling the radio peripheral for some reason, but I see I got way ahead of myself. I'm very sorry about the confusion here.

    Taking another look at the sample you're using I see you're basing your sample on the peripheral_hr sample, which is a Zephyr project, not tested with the nRF SoftDevice controller, so that might be the issue here, although I agree it's very strange it only propagates when uart_rx_enable and the SoftDevice controller is used.

    Please compare your project with the peripheral_hr_coded which is designed and tested for the nRF SoftDevice controller. 

    Bus faults are a bit tricky to debug, but you can try to check Faulting instruction address (r15/pc): 0x0000bb74 for what address this line is pointing to, you can use the command window in your build folder and the following command to get a file name and line number for that address: arm-none-eabi-addr2line -e _build/zephyr/zephyr.elf 0xbb74.

    Best regards,

    Simon

Children
No Data
Related