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

Flashing using Eclipse

Hi

I have setup and configured Eclipse using the tutorial and all seems to be good, except, I cant flash the binary to the chip. Here is my error when calling flash:

  • Flashing: _build/nrf52840_xxaa.hex
  • nrfjprog --program _build/nrf52840_xxaa.hex -f nrf52 --sectorerase
  • ERROR: Invalid argument provided: -f.
  • Makefile:234: recipe for target 'flash' failed

I'm using the following

  • IC: nRF52840
  • Softdevice: S140 SDK: nRF5_SDK_13.0.0_04a0bfd
  • Example as base: ble_app_hrs_c
  • IDE: Eclipse + GCC

Please help

Thanks

Related