Hi,
We have a custom board with the nrf5340 SoC, after erasing it with the erase function included in the nrf extension for VScode, we started getting the following error:
NRF5340_xxAA_ENGDyasir@Em:~$ nrfjprog --deviceversion
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.
By probing the SWDCLK and SWDIO pins from the JTAG on our custom board (with it connected to the nrf5340 DK), we found that the SWDCLK was stuck at 2V, whereas on a working board the SWDCLK was found to be at 3.3V. Attached is a screen shoot from the oscilloscope where the blue colored wave is the SWDCLK and the red is the SWDIO.
It might be worth noting that we have used the erase function from the nrf VScodes extention on this same device as well as other devices with the exact same hardware many times with no issues.
