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

Device Config and Programming

Hello All,

I am looking to use the nRF52840 for a ZigBee project. I am looking at the ZigBee light bulb example and following a few posts here I got it building. I can not get it to program using "make flash". 

I keep getting the error:

 

C:\Users\MichaelMi\Downloads\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\zigbee\light_control\light_bulb\pca10056\blank\armgcc>make flash
DONE nrf52840_xxaa
Flashing: _build/nrf52840_xxaa.hex
nrfjprog -f nrf52 --program _build/nrf52840_xxaa.hex --sectorerase
process_begin: CreateProcess(NULL, nrfjprog -f nrf52 --program _build/nrf52840_xxaa.hex --sectorerase, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:218: flash] Error 2

I would like to get this working so I can test the module and see if it fits my needs for this project. 

Parents
  • Hi

    Build tools are by default installed to C:\Program Files\GNU ARM Eclipse\Build Tools\VERSION\bin or C:\Program Files (x86)\GNU ARM Eclipse\Build Tools\VERSION\bin if you installed the package that was referenced in this tutorial. Please verify that mkdir.exe is located in this folder.

    For a more straightforward way of flashing an example onto your board, please check out the nRFConnect Programmer app for desktop, which lets you connect to DKs and erase/flash applications onto your device with an easier to use GUI. Are you using a development kit or a custom/third party device for the development of your application?

    Best regards,

    Simon

Reply
  • Hi

    Build tools are by default installed to C:\Program Files\GNU ARM Eclipse\Build Tools\VERSION\bin or C:\Program Files (x86)\GNU ARM Eclipse\Build Tools\VERSION\bin if you installed the package that was referenced in this tutorial. Please verify that mkdir.exe is located in this folder.

    For a more straightforward way of flashing an example onto your board, please check out the nRFConnect Programmer app for desktop, which lets you connect to DKs and erase/flash applications onto your device with an easier to use GUI. Are you using a development kit or a custom/third party device for the development of your application?

    Best regards,

    Simon

Children
No Data
Related