When I try to program custom NRF52 board using a J-Link v9 (It's probably a copy product), I'm getting the error below. I also have several NRF52/NRF53 DK boards when I try using their debug-out for programming, there is no problem. When I use J-Flash utility instead nrfjprog, again there is no problem.
Flashing: _build/toxophilite.hex
nrfjprog -f nrf52 --program _build/toxophilite.hex --sectorerase --log
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
make: *** [Makefile:287: flash] Error 33
"make flash" terminated with exit code 2. Build might be incomplete.
I've attached the log.