This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrF5 Command Line Tools dissappered

Hi,

I’m facing a strange problem regarding  nrfjprog

I used it for many times without any problem

Now I’m preparing a VBNET app to program a flash sector of the nRF52832 and I decided to use it launched by a bat file which in turn is launched by the VBNET app

Here is the bat file code

set path=%path%;"%AppData%\Board_Code_Folder"

del %AppData%\Board_Code_Folder\outfile.hex

%AppData%\Board_Code_Folder\srec_cat  %AppData%\Board_Code_Folder\infile -binary -offset 0x2C000 -o %AppData%\Board_Code_Folder\outfile.hex -Intel

IF %errorlevel% EQU 1 GOTO out

set path=%path%;c:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin\

nrfjprog --program %AppData%\Board_Code_Folder\outfile.hex  --sectorerase -f  NRF52

:out

 REM pause

 EXIT /B %ERRORLEVEL%

 

The file “nRF5x-Command-Line-Tools_9_7_2_Installer.exe” is launched by the setup file

I used inno setup installer and I can verify that the “Command-Line-Tools” is recalled and installed

PROBLEM

IN THE DIRECTORY “C:\ C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin” 

the Nrfjprog.exe (previously it was there) DOES NOT APPEAR 

Thus my BAT FILE FAILS where it calls :

nrfjprog --program %AppData%\Board_Code_Folder\outfile.hex  --sectorerase -f  NRF52

I made many attempts uninstalling  the  nRF5x-Command-Line-Tools and reinstalling  it even manually

But the result is still the same

NO  TRACE OF NRFJPROG

ANY IDEA ?

Thanks

CAN YOU SEND IT APART OF THE INSTALLATION FILE ?

Parents Reply Children
No Data
Related