Skip to main content
HKUMA.4
Visitor II
September 17, 2018
Question

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

  • September 17, 2018
  • 1 reply
  • 960 views

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.
    Super User
    September 17, 2018

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

    -- pa