Hello,
I am using custom board. Unfortunately, there is no UART for debugging on our custom board. In this case, can I show log?
Thanks.
Hello,
I am using custom board. Unfortunately, there is no UART for debugging on our custom board. In this case, can I show log?
Thanks.
If you're using a Segger JLink then you can use Segger RTT. You can even leave it in your final build at the cost of a little memory and a little CPU usage, it will just put logs to a ring buffer which won't be used. When you connect the Segger and debug you can use the RTTViewer (or whatever it's called) to read the logs, you can even make it bi-directional if you want and send it commands.
It's documented on the segger site, it's very easy to use and I've pretty much given up messing about with UARTs now, I just use that, much easier.
if you aren't using a Segger JLink then .. go find one!
If you're using a Segger JLink then you can use Segger RTT. You can even leave it in your final build at the cost of a little memory and a little CPU usage, it will just put logs to a ring buffer which won't be used. When you connect the Segger and debug you can use the RTTViewer (or whatever it's called) to read the logs, you can even make it bi-directional if you want and send it commands.
It's documented on the segger site, it's very easy to use and I've pretty much given up messing about with UARTs now, I just use that, much easier.
if you aren't using a Segger JLink then .. go find one!
Vebjørn made a tutorial on how to use the RTT debugger here: devzone.nordicsemi.com/.../