This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial Viewer (RRT) Help

Hello,

I am just starting working with the nRF52 development kit and have a couple guidance questions. I'm very new to the Keil environment and am having a little trouble trying to get some simple things working. Please forgive the simplicity of my questions but I'm new to this. Ideally, I'd like to hook up an LCD screen and rotary encoder to one end of my link, and after I learn to implement these items I'd like to set up some bluetooth applications. Before I can accomplish any of this however, I have to figure out a way to get real time serial outputs so I can observe how everything is working and for assistance in debug and eventually, radio and bluetooth verification.

I initially tried the Keil Serial windows, but with no avail I followed the tutorial here (devzone.nordicsemi.com/.../) but my RTTViewer does not offer a nRF52 for an option, and does not find an "emulator" when attempting to connect. It then asks for an IP address which I don't know. I am unsure what the correct method to go about viewing serial output from the microcontroller is. Does anyone have any guidance on how to view real time serial output from the nRF52?

Additionally, is there any where to look for help setting up and printing to a typical 16x2 character LCD screen like this (www.newhavendisplay.com/nhd0216k1zflybw-p-284.html) and also interfacing with a simple (quadrature or grey code output) rotary encoder?

These two items would allow me to get started working on some of my projects and then get the radios and bluetooth talking.

Thanks for any help or input on this topic!

Parents
  • I see the "SEGGER_RTT.c" folder/file in the RTT folder within the nrf52832.... folder, but II still get the same errors during compile. I updated to the newest version of Keil (5.17) from my older 5.16 version, and the errors still persist. I tried on multiple examples now, and it doesn't seem to be liking the simple SEGGER_RTT_WriteString() command... I am curious where printf outputs to and if I can just use that?

    I really am unsure why this is not working if I have the files added. I also have tried adding the include path for the main.c file as well as the "target" (nRF52) but still cannot compile.

    Any suggestions?

    Thanks for taking the time to work through this with me Einar!

Reply
  • I see the "SEGGER_RTT.c" folder/file in the RTT folder within the nrf52832.... folder, but II still get the same errors during compile. I updated to the newest version of Keil (5.17) from my older 5.16 version, and the errors still persist. I tried on multiple examples now, and it doesn't seem to be liking the simple SEGGER_RTT_WriteString() command... I am curious where printf outputs to and if I can just use that?

    I really am unsure why this is not working if I have the files added. I also have tried adding the include path for the main.c file as well as the "target" (nRF52) but still cannot compile.

    Any suggestions?

    Thanks for taking the time to work through this with me Einar!

Children
No Data
Related