NCS runs normally in debug mode, but fails to run in normal mode

Hello Nordic

     Use NRF52832  、  NCS 1.6 、“zephyr\samples\basic\blinky” sample.

    In hardware, my board doesn't have a low-speed clock, and the reset pin is floating. Therefore, I configured CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y in the kconfig file.

    The program runs normally on the development board, but it doesn't run after being flashed onto my board.

     If I use debugging in VS Code, the program runs normally, but it stops as soon as the debugging session ends.

I have been troubleshooting for a long time but still haven't found the cause. I would greatly appreciate your help.

Parents
  • In hardware, my board doesn't have a low-speed clock, and the reset pin is floating. Therefore, I configured CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y in the kconfig file

    That's correct.

    I have been troubleshooting for a long time but still haven't found the cause. I would greatly appreciate your help.

    Does your custom board come with a DC-DC converter? Please check if disabling this in the prj.config file makes it work:. CONFIG_BOARD_ENABLE_DCDC=n

    I am not entirely sure about the SDK version you are using, but if it's NCSv1.6, I recommend switching to a much newer version, as this is quite outdated.

    Kind Regards,

    Abhijith

Reply
  • In hardware, my board doesn't have a low-speed clock, and the reset pin is floating. Therefore, I configured CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y in the kconfig file

    That's correct.

    I have been troubleshooting for a long time but still haven't found the cause. I would greatly appreciate your help.

    Does your custom board come with a DC-DC converter? Please check if disabling this in the prj.config file makes it work:. CONFIG_BOARD_ENABLE_DCDC=n

    I am not entirely sure about the SDK version you are using, but if it's NCSv1.6, I recommend switching to a much newer version, as this is quite outdated.

    Kind Regards,

    Abhijith

Children
Related