This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No Logs on Custom board based on nrf52840 SoC

Hi,

I had my application based on nRF_SDK_For_Thread_and_Zigbee, and now I am porting my application to nRF_Connect_SDK.

When I use the nRF52840 DK board for testing purposes of any feature, I get logs on the JLink RTT viewer, but when I connect my custom board, I don't get any logs on the JLink RTT viewer.

I have made a board for my custom board in zephyr's board directory. I have used the nrf52840dk_nrf52840 board directory and replicated it for my custom board. I have mainly changed pins for LEDs, Buttons, and I2C communication on my custom board. Also, I have built the application for my custom board using the command " west build -b custom_board_name" and to flash
the custom board, I am using DK board as a programmer and a JTag connector, connecting SWDIO, SWDCLK, Vdd,  and Gnd from DK board to custom board. However, when I flash my code to dk_board, which is compiled for my custom_board, it shows RTT logs on JLinkRTTViewer.

Earlier also on my "nRF_SDK_For_Thread_and_Zigbee" based application I used to follow the same procedure and was able to view RTT logs for my custom board.

Can you suggest what is wrong here?

Parents
  • Hi,

    Which nRF Connect SDK version are you using, and which sample are you building?

    Have you followed the instructions in How to use RTT to enabled RTT logging in the sample?

    Have you verified that the custom board is being flashed correctly and can run other applications?

    Did you connect the external board through P19 debug out connector, or P20 pin header? Is VTG connected to VDD for the DK to detect the external board?

    Best regards,
    Jørgen

Reply
  • Hi,

    Which nRF Connect SDK version are you using, and which sample are you building?

    Have you followed the instructions in How to use RTT to enabled RTT logging in the sample?

    Have you verified that the custom board is being flashed correctly and can run other applications?

    Did you connect the external board through P19 debug out connector, or P20 pin header? Is VTG connected to VDD for the DK to detect the external board?

    Best regards,
    Jørgen

Children
Related