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).

  • Sorry for making it confusing. I have a custom board in which raytacs MDBT40 is the core. All the gpios and other pins are used by motors, buzzer, and other peripheral. The only pins left to access are swd programming pins (swdclk,swdio). I am programming the board using jlink with swd programming. So it is possible to use same pins (swdio,swdclk) for debugging data? Like in arduino we connect arduino to pc uaing usb and open serial monitor to debug the data. So whether same is possible with jlink and MDBT40?

Reply
  • Sorry for making it confusing. I have a custom board in which raytacs MDBT40 is the core. All the gpios and other pins are used by motors, buzzer, and other peripheral. The only pins left to access are swd programming pins (swdclk,swdio). I am programming the board using jlink with swd programming. So it is possible to use same pins (swdio,swdclk) for debugging data? Like in arduino we connect arduino to pc uaing usb and open serial monitor to debug the data. So whether same is possible with jlink and MDBT40?

Children
No Data
Related