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

Eclipse for application flash error

Hello,

I'm using the nRF51422 uController and the SDK 11. I tranferd from Keil to Eclipse and followed the tutorial to do so. But now I got a Problem while flashing my applications. The stragne thing is that it worked but after I added my real application which i had to made some adjustments (down below) all of them didn't work anymore.

I get this error massage from eclipse:

'C:/Program Files (x86)/GNU Tools ARM Embedded/7 2018-q2-update/bin/arm-none-eabi-size' _build/nrf51422_xxac_s130.out
   text       data        bss        dec        hex    filename
  63752        116       2436      66304      10300    _build/nrf51422_xxac_s130.out
''
make[1]: Leaving directory 'C:/nRF5_SDK_11.0.0_89a8197/examples/ble_peripheral/ble_app_template_dfu/pca10028/s130/armgcc'
Flashing: _build/nrf51422_xxac_s130.hex
nrfjprog --program _build/nrf51422_xxac_s130.hex -f nrf51  --sectorerase
process_begin: CreateProcess(NULL, nrfjprog --program _build/nrf51422_xxac_s130.hex -f nrf51 --sectorerase, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make: *** [Makefile:261: flash] Error 2

The adjustments which i did for my application were that i deleted CFLAGS += -Wall -Werror -O0 -g3  from its makefile because it was counting unused variable as an error and I deleted the part ", "r7"" from the file bootloader_util.c. The application is a modified version of ble_app_template so I just modified the makefile to transfer it to eclipse.

How can I get my application to be flashed?

Parents Reply Children
No Data
Related