I'm having issues trying to program a custom board with NRF52832_QFAB in DC/DC config. I couldn't reach a complete programming because I'm getting an error in open ocd with two programmers:
1. STLink V2:
2. NRF52DK (JLink)
I get same error in both:
Error: Open failed
in procedure init
in procedure ocd_bouncer
I have checked connections between SWDIO, SWDCLK, VCC, GND, and they are right. Lastly, what I did was verify my schematic and I found three issues:
1. Cap connected to DEC1 in recommended schematic is 100 nF, and I connected 10 nF
2. There is a missing capacitor in 36 pin that is one VDD. However, other VDD connections have their own decoupling cap.
3. I haven't realized that my ext crystals have a different internal capacitance, and I used the same load caps recommended in schematic by NRF52 product specification pdf. (For 32 MHz crystal recommended is CI of 8pF, and what I have is 8 pF).
I would like to ask if one of these three could be affecting programming cycle. I do really appreciate your help.