  Let $E/\mathbb{Q}$ be an elliptic curve having multiplicative reduction at a
prime $p$. Let $(g,h)$ be a pair of eigenforms of weight $1$ arising as the
theta series of an imaginary quadratic field $K$, and assume that the
triple-product $L$-function $L(f,g,h,s)$ is self-dual and does not vanish at
the central critical point $s=1$. The main result of this article is a formula
expressing the $p$-adic iterated integrals introduced in [DLR] to the Kolyvagin
classes associated by Bertolini and Darmon to a system of Heegner points on
$E$.
