Hello,
I have Micromod nRF52840 module on a carrier board and I've built and flashed Matter Light Switch sample on it but I need to read the logs from the module
How can I read the logs from this external nrf52840 module?
Best regards,
Basem
Hello,
I have Micromod nRF52840 module on a carrier board and I've built and flashed Matter Light Switch sample on it but I need to read the logs from the module
How can I read the logs from this external nrf52840 module?
Best regards,
Basem
Hi,
You could connect the log module to a UART or RTT and connect the 5340 to the 52840 with said UART and read out the logs this way. You might find some useful information in https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/
Kind regards,
Andreas
Thanks AHaug, and i'm sorry for my late response.
The following URLs helped me:
blog.golioth.io/.../
devzone.nordicsemi.com/.../log_-over-rtt-and-shell-over-uart2
https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/logging.html
Conclusion:
I used the following configs to enable RTT to send the logs from the custom nRF52840 board through nRF5340-DK to VS Code:
#CONFIG_UART_CONSOLE=n #CONFIG_RTT_CONSOLE=y #CONFIG_USE_SEGGER_RTT=y
Best regards,
Basem