I have created a custom board with an NRF52832 chip on. Either programming via ULINK2 or the DK PCA10040 is no succes, board won't be recognized although it is powered.
Checked all support tickets around this subject, and wiring is set up okay including SWCLK, SWDIO, VTG GND. What else can be checked in hardware or wiring what could be the issue?
I have used the reference circuit diagram for the NRF52832 dcdc schematic.
Did you connect your board like this?
Note the shorted VTG to VDD, as this will force the nRF52-DK to use this specific debug port, and it will also provide power over the VTG pin. One of the pitfalls of using the nRF52-DK to program externally is that the voltage on your custom board must match the nRF5-DK, so its easier to just power your board from the DK itself.
Yes, I have seen that topic before and indeed connected it like that.
Since my VDD is then measuring 2.8V, i have also tried placing external 3.3V on my custom board, and connect VTG to that one, but both were no success.
Also when I check nrfjprog -i, I can only see the serial number of the DK.
mars_design said:Also when I check nrfjprog -i, I can only see the serial number of the DK.
That is to be expected, as that is the only debugger present in your current setup.
What is the current consumption of your custom board? Are you certain that you have connected SWDIO to SWDIO, and SWDCLK to SWDCLK?
Okay, was expecting to see the board being connected.
SWDIO and CLK are connected to the right pins, same setup as in the link you did send.
Please see my screenshot of nRFgo Studio and Keil. Am I missing something here?
I've removed the serial number behind the red lines (do not know why, but saw that more often), but this is the serial number as written on the Dev Kit.
Have I misunderstood something here? Everything looks OK wrt. the programming, as nRFgo Studio can read out the flash and Keil is able to detect the core.
Could you elaborate on what the issue is?