How to check if bootload normally when ncs used

I'm developing with ncs v2.6.0 in the board that made by myself with nrf52832 mcu.

I start a new project with copy from nrf_dm sample.

In my board,just one LED used and it connect with gpio 0 pin 22.

The RUN_STATUS_LED is equal to DK_LED2.So that I overlay led_1,connect it with pin 22.RUN_STATUS_LED等于DK_LED2。所以我覆盖了led_1,连接到引脚22。
I think after overlay,when the code running,the LED will blink.But it not.
So I changed the console to RTT to get output.I failed.
But when I use the thirdparty DK with nrf52832.It work normally.
So maybe the error happened in the process of bootload?
How can I correct it?
  • Some more information I think I need to tell you.

    Due to my ignoring,something I said is wrong.

    The puzzle before caused by flash fail and no correctly bootload(I think).

    The flash fail is easy to resolve.Now only one issue.

    I find the code will run only I connect the RTT console on my board,but not haapened on other DK board.

    It just like this.

    The little green board on the keyboard is my board.You can see that I must to connect RTT the board just work normally.

    There is some change in my prj.conf

    CONFIG_USE_SEGGER_RTT=y
    CONFIG_RTT_CONSOLE=y
    CONFIG_UART_CONSOLE=n
    

    我想我还需要更多的信息

  • Hello,

    Does your custom board include a DC-DC converter? Try disabling the DC-DC8(CONFIG_BOARD_ENABLE_DCDC) in the configuration to see if it makes a difference. Additionally, ensure there are no issues with power delivery to your custom board. Temporarily comment out the RTT logging, or apply a minimal sample that only toggles the LED without RTT configuration or dependencies, and see if it works.

    Kind regards,

    Abhijith

  • Hi,

    My board without DC-DC converter.It seem available that disable DC-DC8.

    But it still have a defect.When I finish flash,I need to select the board in connected devices.But reload power to the board it normally.

    Now,I delivery power to my board with SWD interface that also used to flash application.I think the delivery is no problem.

    I also try comment out the RTT logging and DC-DC.The behavior as before.

    Seem like I need to add DC-DC to my board or add configuration?

  • Hello,

    Have you tried any samples other than the nrf_dm sample? If so, how did they work out? Have you been able to get any of the samples from the SDK to work on your custom board? If you have conducted a hardware review, could you please share the ticket?

    Kind regards,

    Abhijith

Related