How to create customized software to program boards via bluetooth on nRF Connect

Hi, I'd like to add that "BLE capabilities for nRF Connect" to my customized software in the dongle, is there an example code or template which I can add to my customized code such that it can do that? Because when I tried using the dfu sample codes that come with the SDK 17.1.0, I was stilled asked to program the device to something else.

Parents Reply Children
  • Hi, Einar,

    I have been using this program to program my device. But I usually see memory map with green, blue and orange regions, like the one on the right, not just the one orange region.

  • The colors indicate what each memory section contains:

    1) Are you sure you've selected the right device in the programmer?

    2) Are you sure you've added the right file?

    3) Could you please share the output of the log output?

    -Einar

  • Hi Einarh,

    Our DK board has finally arrived and I can confirm that at very least, I could follow the instruction and download the provided bin file to the board, and that it can actually connect to the computer afterwards. Unfortunately, I can't say the same about the generated zephyr.bin file, I could not actually download the generated bin file the error came back as "Unspecified error -1". And the two bin files are not identical. It is very important that the generated file operate the same way as the provided bin file. Otherwise, we can't proof that the source code works.

  • karenl said:
    Unfortunately, I can't say the same about the generated zephyr.bin file, I could not actually download the generated bin file the error came back as "Unspecified error -1"

    How exactly do you generate it and please share the full log output.

    -Einar

  • The build was generated by opening the central_smp_client_dfu folder. At the NRF for VS code page, I selected nRF connect 2.0.0 as suggested by the instruction. And I clicked pristine build under "ACTIONS".

    There is nothing at the output terminal, one warning that says "__ASSERT() statements are globally ENABLED". But a bin file is generated none the less as zephyr.bin. There is another one called isrList.bin which I didn't use.

Related