Skip to main content
HKUMA.4
Visitor II
Sep 17, 2018 1:53 PM UTC
Question

Using the ST-LINK V2 debugger to debug using SWD and printf for Nordic nRF51822

Hello,

I have a ST -LINK V2 programmer. 

I use it with Nordic nRF51822 to program the nRF via SWD.

I want to debug my code by using 'printf' commands using the same ST-LINK V2; is it possible?

If yes, how ?

What is the SWIM pin for ?

Thanks.

    This topic has been closed for replies.

    1 reply

    Pavel A.
    Sep 17, 2018 7:09 PM UTC

    Unfortunately the Nordic is Cortex M0 and it does not have the component (ITM) for printing over SWD.

    -- pa