The Bluetooth firmware will report an error message before startup, and then everything will be normal

The chip I am using is 54l15, and the NCS version is 2.8.0

I used the peripheral_uart example for modification and got my own program, but I forgot which time this problem occurred during the modification

The specific error code is shown in the following figure

As can be seen, there was a slight error message output before the code started, but I searched for a long time without finding the cause. And this does not affect other functions, except for these few lines of error messages, everything else is running as expected

Parents
  • Another detail is that during the first boot after downloading firmware to the chip, this error message is usually not displayed. It is only seen during the second and subsequent boot attempts

  • Hi Illy, 

    How did you do the reboot ? 
    It seems like there is assert at line 287 of nrfx_grtc.c file causing the issue:
      NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED);

    Either something wrong with the rebooting or the GRTC module is being initialized twice at booting. 

    If you do power reboot do you see the problem ? 
    If you test with the default application do you see the same issue ? 

  • hi

    Since our board does not have a reset button, I use soft reset on our board. Pressing two buttons at the same time will reset and restart. Additionally, during development, I prefer to use the programmer in nRF Connect for Desktop for resetting. Both of these methods can lead to this problem. Then I tested it using a 54l15pdk development board, and if I reset it using the reset button on the board, there would be no problem.

    Even when the power was disconnected and reconnected, this issue was not observed.

    Using unmodified peripheral_uart examples will not cause this issue.

    What functions or peripherals are related to GRTC? Maybe I can rule it out again

Reply
  • hi

    Since our board does not have a reset button, I use soft reset on our board. Pressing two buttons at the same time will reset and restart. Additionally, during development, I prefer to use the programmer in nRF Connect for Desktop for resetting. Both of these methods can lead to this problem. Then I tested it using a 54l15pdk development board, and if I reset it using the reset button on the board, there would be no problem.

    Even when the power was disconnected and reconnected, this issue was not observed.

    Using unmodified peripheral_uart examples will not cause this issue.

    What functions or peripherals are related to GRTC? Maybe I can rule it out again

Children
No Data
Related