Hi,
I'm trying to download the application by Vs Code but it was failed,the warning as below:

But when i'm trying to debug,it was worked

Have anyone can help?
Thanks very much!
Hi,
I'm trying to download the application by Vs Code but it was failed,the warning as below:

But when i'm trying to debug,it was worked

Have anyone can help?
Thanks very much!
It didn't fail. It says "flashed successfully". This is only a warning.
nrfjprog -f nrf52 --program zephyr.hex --chiperase --verify --log

Hi,
What version of nrfjprog and JLINK do you have? To find this, run nrfjprog -v.
Best regards,
Marte
Hi,
nrfjprog version is 10.15.4
Jlink version is 7.65a
Please see the figure

Hi,
Can you try recovering the device by running nrfjprog --recover before you program it?
Best regards,
Marte
Hi,
Can you try recovering the device by running nrfjprog --recover before you program it?
Best regards,
Marte
Hi Marte,
The result is still a failure.

I had tried to install the lower version of nrfjprog and download,it's still a failure too.
Best regards.
Hi Marte,
I'm find the issue from this website
https://devzone.nordicsemi.com/f/nordic-q-a/46809/nrfjprog-write-verify-failed
The root cause is too high of clock of jlink,nrfjprog should add a parameter -c 125~1000,and i'm test this is ok from command line,could this parameter be configured to the vs code flash button?

Best regards.
Hi,
There is no way for the user to change what the flash button in the VS Code extension does at the moment, so you will have to use nrfjprog to program your device if you need to change the debugger SWD clock speed. I can forward this as a feature request.
Best regards,
Marte