I'm working on a project where I need to program an NRF51822
using an ST-Link V2
(well, perhaps I don't have to do it this way, but that's what I'm currently doing/own).
I'm pretty sure it's running properly, but I really need a debug console to get some information back from the NRF51
module to make sure things are connected OK.
I'm not going to lie:
- I'm really quite new to this, and most of my success thus far has been thanks to quite in-depth tutorials.
- I'm using ubuntu and openOCD for programming
- I'm not sure what I need to put in my program in order to get debug/console info out (and I'm not even sure what I would do to receive it on my computer).
I would really appreciate some help on:
- What to add to my program to log info to the console, and
- How to view that debug console on my computer.
Thank you very much!