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

I want to use nrf52840 dongle as a provisioner to provision other devices

Hi,

I want to use nrf52840 dongle as a provisioner to provision other server and client nodes. So, i was trying to program dongle by using seggger and building and running the "provisioner" code of mesh sdk from path "nrf5MeshSDK/examples/provisioner" by adding "BOARD_PCA10059" in place of "BOARD_PCA10040"  in Segger embedded studio -> project options -> preprocessor directive in common mode as mentioned in post" https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial?CommentId=89e0af9b-7279-4548-9d9c-8ef7d60699fb" . But i am not able to run the code in dongle as it is  giving run time error as mentioned, sharing log below, 

00> <t: 0>, main.c, 499, ----- BLE Mesh Static Provisioner Demo -----
00> <t: 0>, app_error_weak.c, 115, Mesh error 8 at 0x00000000 (:0)  

I have tried the same provisioner code with nrf52832 dev kit it is working fine, can you please help me in running the code on dongle, so that i can provision other nodes using dongle.

I have done some changes to program dongle and see the logs in rtt viewer, i used nrf2832 dev kit with dongle to program the dongle and see logs on rttviewer, did not use nrfconnect progammer tool to program the dongle.

Attaching the picture of my setup and changes i have done:

1)  I have used SWDIO of dongle and connect it to SWDIO of dev kit

2) I  have used SWCLK of dongle and connect it to SWCLK of dev kit

3) Connected GND of dongle to GND of dev kit

4) Connected VDDOUT of dongle to VDD of dev kit.

   My setup

I also need to know how can i send commands using dongle, as for provisioning other nodes using dev kit or as static provivioner we have to press button 1 from dev kit or send 1 from rttviewer to scan the unprovisioned nodes and then provision them and press 4 from dev kit or send 4 from rttviewer to reset, how to perform this functionality using nrf52840 dongle.

Is there any different sdk we should use with dongle, as per nordic site we can use nrf sdk and nrf mesh sdk with nrf5840 dongle as nrfsdk17 and nrf meshsdk 5 supports dongle. I am using nrfsdk17.02 and nrfmeshsdk 5.0.

If anyone can really help me in solving this, its a huge favour.

Thanks & Regards,

Ela

Parents
  • Hi,

    I want to use nrf52840 dongle as a provisioner. I am mentioning how to proceed with, if anything missing or how to achieve please help me out in this:

    1) Thinking of using provisioner code mentioned in nrfmesh5 sdk for dongle by changing the macro BOARD_PC10040 to BOARD_PC10059 in segger

    2) How to program the provisioner code in nrf52840 dongle through USB and also want to get some logs via USB. I believe when we use dongle as sniffer we are getting logs in wireshark, so i want to have the source code for this purpose, so that i can get logs and program the dongle as provisioner (as example given in mesh sdk as provisioner). Can anyone please help me how to achieve this

    3)   Right now i am using nrf52832 dev kit to program the dongle with the provisioner code as i mentioned the setup in earlier comment but i do not want to use dev kit i want to use USB to program the provisioner code in dongle so that i can use dongle as provisioner.

    4) Do we have any working code base for nrf52840 dongle

    Can anyone please help me with this, on urgent basis.

    Thanks & Regards,

    Ela

  • Hi,

    I want to use provisioner example with the nrf52840 dongle and want to get logs through USB or UART or is there any other way. I did not get any working example for dongle to get data or logs via USB. 

    Can anyone help me through this?

    Thanks & Regards, 

    Ela

  • Hi, 

    Can anyone please help me with this?

    Thanks & Regards,

    Ela

Reply Children
No Data
Related