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.
But the board is not running even power reset after download is completed.
Then i'm tried to copy the zephyr.hex to another directory and download by iar,it works fine.
I'm tried to download again by nrfjprog command,
The command is:nrfjprog --program zephyr.hex --verify --log
See the information as below

Hi,
The target area needs to be erased. If not, --program will fail. You can erase the chip before programming, but the simplest option is to erase the chip as a part of the programming operation:
nrfjprog -f nrf52 --program zephyr.hex --chiperase --verify
You can also add --reset to the command above to make the device reset after flashing.
Best regards,
Marte
Hi,
The target area needs to be erased. If not, --program will fail. You can erase the chip before programming, but the simplest option is to erase the chip as a part of the programming operation:
nrfjprog -f nrf52 --program zephyr.hex --chiperase --verify
You can also add --reset to the command above to make the device reset after flashing.
Best regards,
Marte