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

Showing UART strings in Keil

Hello,

I am using an nRF51822 Development Kit. I am trying to run pca10001/board/uart_example (with simple_uart) using the UART serial viewer built into the Keil programming software (in debugging mode). So far, I cannot get these UART windows to display anything. Is there a way to do this? Shouldn't they just display whatever an attached UART would? I have not found any way to configure Keil for this purpose.

Also, I have my pins designated appropriately but they are not connected to anything.

Thank you!

  • As far as I can see from Keil's documentation here, these windows are meant to be used only for simulated CPUs, and are as such not applicable for hardware debugging with the nRF51822.

    As for the Debug (printf) viewer, this requires trace hardware in the chip, and the nRF51822 does not have this. You'll therefore have to use a separate terminal program to receive UART data from the nRF51822.

Related