Issues with NCS LOGS with Particle Xenon

Hi there,

I have just started the NCS Fundamental Course and I am stuck on Exercise 4 Lesson 1 and Lesson 2. There are two problems that I am facing.

1) If I use the nrf52832DK board for build configuration. I get the logs but my button press won't be recognized.

2) If I change the board, to Particle Xenon and connect using the debug-out port. I am able to get the button press that I check using a debugger. but I am unable to see any log no matter if I use printk or LOG_INF commands. I even downloaded the solution and then flash it but it shows the same behavior.

Parents
  • Hi Simon,

    So I followed the same steps for the NRF52DK board. I have attached the output. You can see the initial Logs, but there is nothing on the press of a button. I also run it in the debug and put a breakpoint in the callback and it never hit.

    Also, the LED is not ON as well.

    In contrast when I run the same code on Xenon. The LED does ON and the breakpoint in the callback is also hit when we press the button. but in that case, No LOG is printed on the screen.

    The attached pictures are for the NRF52DK board.

Reply
  • Hi Simon,

    So I followed the same steps for the NRF52DK board. I have attached the output. You can see the initial Logs, but there is nothing on the press of a button. I also run it in the debug and put a breakpoint in the callback and it never hit.

    Also, the LED is not ON as well.

    In contrast when I run the same code on Xenon. The LED does ON and the breakpoint in the callback is also hit when we press the button. but in that case, No LOG is printed on the screen.

    The attached pictures are for the NRF52DK board.

Children
No Data
Related