SWD Error - D7 dim LED

I am currently trying to revive my Particle core (Also know as spark core) because i got the dim D7 led problem. I don’t have a particle programmer but i do have a photon so i used this git library: https://github.com/m-mcgowan/embedded-swd/releases and followed the steps and double checked my wiring but i keep getting this error:
image
does anyone know how to fix this?
Thanks, Daniel