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

Getting Started - Running Examples. Ninja not flashing

So I was following the documentation.
Installed everything successfully.
And now I am trying to send the program to the nrf52840.

However when I do ninja flash<program> I get:
ninja: no work to do.

Following the tutorial I should get at least a list of connected devices.


I am using:
- Windows10
- nRF5 SDK for Mesh v4.0.0
- nRF5_SDK_16.0.0_98a08e2

Parents Reply
  • Ok I will writte the steps of what I did to program my controller using the ble_app_template from nordic SDK BLE:

    1) go inside ble_app_template/pca10056/s140/armgcc/
    2) make --> Obtaining nrf52840_xxaa.hex
    3) generate dfu_zip: nrfutil dfu genpkg --sd-req 0xFFFE --dev-type 0x0052 --application nrf52840_xxaa.hex _build/dfu-package.zip

    4) Place controller in DFU Mode

    5) nrfutil --verbose dfu serial --package _build/dfu-package.zip -p $(SERIAL_PORT) -b 115200 --singlebank --touch 1200

    ---------

    Now for SDK Mesh Ble.
    I did not find any approach like this, I tried to do the same but to the light_switch_server_nrf52840_xxAA_s140_7.0.1_merged.hex instead of the nrf52840_xxaa.hex ... It gave no error. But I cannot find my controller with nordic android app.

Children
Related