Problem flashing nRF52840-DK board through VS code

I have downloaded nRF connect setup V5.1.0 and nRF command line tools V10.24.2.

downloaded nRF connect extension , SDK pack and tool chain in VS code.

I added the build configuration as per the nRF video to setup VS code.

Code is compiling, but when I try to flash it into nRF 52840-DK board it giving me an error.

I am assuming that I have done something wrong during setup. Please help me understand and correct my mistake.

If you need more details, please let me know so I can share it here.

Related