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 Reply
  • Thanks for your support.

    My application has crystal to start with.

    This seems to be some issue with my logging module due to which my node is facing a HARD FAULT and MPU FAULT. 

    I made the code simplified and simply tried some logs on my custom node which is working.

    So the issue is not with the custom board but in my application somewhere else.

    I will try to debug that issue and create another ticket if needed for specifically that issue.

Children
No Data
Related