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

Debug messages through putty

Hello,

I have been going through devzone questions to figure out how to enable the default debugging messages through Putty for the ble_app_proximity example project from the 0.9.2 SDK. These are a couple posts I have looked at to name a few:

devzone.nordicsemi.com/.../ devzone.nordicsemi.com/.../

Since I am using the proximity example, it already has app_trace.c and app_trace.h in the project files. But, I see that I have to define ENABLE_DEBUG_LOG_SUPPORT in the C/C++ tab in Options for Target, and I am confused as to how to do that. I have been hard coding #define ENABLE_DEBUG_LOG_SUPPORT in the main file.

In putty I have the baud rate as 115200, because that is what is defined in app_trace_init().

I also changed the APP_UART_FLOW_CONTROL_DISABLED to APP_UART_FLOW_CONTROL_ENABLED in app_trace.init, but is this correct?

And what should flow control be set to?

So far no success in reading any messages. Thanks in advance.

Parents Reply Children
Related