This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

Debugging data from nrf51822

Hello Everyone,

I am new to BLE world. Currently using MDBT40 which has nrf51822 as core: www.raytac.com/.../MDBT40-ANT-D.pdf

I am following this repo:github.com/.../arduino-nRF5 in which nrf51822 can be programmed using arduino IDE. Nrf is running S130 and is being programmed using J-link with SWD programming.

Arduino IDE provides serial monitor to debug data which is printed using Serial.print() function but it doesn`t works with nrf51822 which is programmed using J-link. Is there any software in which I can print data which needs to be debugged? I tried nrf-sniffer and followed the documentation, however it get stuck in between and none of the device is visible. Am I on right track? Are there any other tools to monitor the data?

Thanks in advance

Parents
  • nRF Sniffer is for radio interface, that won't help with UART. If you have any mean how to connect to UART (serial) PINs on your board (e.g. popular FTDI "serial to USB" cable) then you can observe debug print outs in any terminal (e.g. PuTTY).

  • Thank you for the reply. However I have made a custom board and none of the pin is left to configure as tx and rx. So it is difficult to connect "FTDI serial to USB"converter to the board. Is it possible from SWD pins of the jlink?

Reply Children
No Data
Related