I was trying to flash code to nRF51822 using vscode interfacing stlink v2, I am stuck at an error "Error: couldn't open s130_nrf51_2.0.0_softdevice.hex" when I try to run the code using openocd .

I was trying to flash code to nRF51822 using vscode interfacing stlink v2, I am stuck at an error "Error: couldn't open s130_nrf51_2.0.0_softdevice.hex" when I try to run the code using openocd """openocd.exe -f interface/stlink-v2.cfg -f target/nrf51.cfg -s ..\\share\\openocd\\scripts\\ -c "init" -c "halt" -c "nrf51 mass\_erase" -c "program s130\_nrf51\_2.0.0\_softdevice.hex verify" -c "reset" -c "halt" -c "program nrf51422\_xxac\_s130.hex verify" -c "reset"". 

Why am i getting this error ?

Parents Reply Children
No Data
Related