nRF Connect SDK v1.9.1 board configuration doesnt yield results.

Hi there,

I am trying out the nRF Connect SDK v1.9.1 with a custom board (with an nRF52833) that we have produced. I have set up the necessary plugins in VSCode (v1.67.2) through the Connect toolchain manager (v0.10.3) and I am able to flash the zephyr/samples/hello_world sample to an nRF52-DK (with an nRF52832) and see the 'Hello World' output in the nrf terminal in VS Code. However when I set up a separate build configuration with my own board (attached as zip), I get nothing in the nrf terminal. I have similar results with the blinky example, where I'm able to see results on the DK, but not on our custom board.

Flashing the custom board goes without errors in the console. But after that it seems the code isn't running... Do you have any ideas what might be causing this?

 canvas_v1.zip

Parents
  • Hi Tal,

    After looking into the board definitiion files it looks like the DCDC mode isn't enabled. You can enable this by adding a the file "Kconfig" into the board definition directory with the bellow content:

    #
    # Copyright (c) 2019 Nordic Semiconductor
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #

    if BOARD_NRF52KBD_NRF52832

    config BOARD_ENABLE_DCDC
    bool "Enable DCDC mode"
    select SOC_DCDC_NRF52X
    default y

    endif # BOARD_NRF52KBD_NRF52832

    You should change the above board names to your board name "BOARD_CANVAS_V1"

    I would also recommend to copy the blinky example to a different project directory instead of the NCS Code base directory.
    Within this project directory you can place the custom board definition in <PROJECTS>/Blinky/boards/arm/<yourboardname>/

    Now this board will be vissible in as a custom board in the build configuration menu.

    Regards, Frans

Reply
  • Hi Tal,

    After looking into the board definitiion files it looks like the DCDC mode isn't enabled. You can enable this by adding a the file "Kconfig" into the board definition directory with the bellow content:

    #
    # Copyright (c) 2019 Nordic Semiconductor
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #

    if BOARD_NRF52KBD_NRF52832

    config BOARD_ENABLE_DCDC
    bool "Enable DCDC mode"
    select SOC_DCDC_NRF52X
    default y

    endif # BOARD_NRF52KBD_NRF52832

    You should change the above board names to your board name "BOARD_CANVAS_V1"

    I would also recommend to copy the blinky example to a different project directory instead of the NCS Code base directory.
    Within this project directory you can place the custom board definition in <PROJECTS>/Blinky/boards/arm/<yourboardname>/

    Now this board will be vissible in as a custom board in the build configuration menu.

    Regards, Frans

Children
No Data
Related