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

Need proper steps to flash and configure nRFmesh light switch usecase with segger embedded studio generated output files.

Hardware:

a. nRF52840 DK baord as client

b. nRF52840 DK baord as server

c. nRF52840 DK baord as provisioner.

procedure:

1. Through segger embedded studio I have built the light_switch_client_nrf52840_xxAA_s140_6_0_0 EMPROJECT file(nrf5_SDK_for_Mesh_v2.1.1_src\examples\light_switch\client source code), compiled with no errors and generated output files(light_switch_client_nrf52840_xxAA_s140_6.0.0.elf,light_switch_client_nrf52840_xxAA_s140_6.0.0.hex, and light_switch_client_nrf52840_xxAA_s140_6.0.0.map files) in nrf5_SDK_for_Mesh_v2.1.1_src\examples\light_switch\client\build folder. 

2. Through nrfjprog command, I flashed the above generated light_switch_client_nrf52840_xxAA_s140_6.0.0.hex file to the nRF52840 DK board to configure it as client.

By doing the similar steps 1 and 2, i have got the hex files generated for server and provisioner roles as well and flashed the nRF52840 DK board to configure it as server and provisioner role.

And viewed the log in RTT viewer, I pressed switch 1 button on the provisioner to configure the mesh... But it is not configuring.. Attached the RTT viewer screenshot log of provisioner.

Please provide inline comments to the below queries,

1. Please let me know the proper steps to flash the nRF52840 DK by using segger embedded studio and let my know in the above procedure, i am doing anything wrong, so that i can configure the mesh properly. ?

2. In addition to the above query, Please let me know, which softdevice(Mesh softdevice or SDK15 softdevice) i need to select and add in edit options-> loader tab of segger studio ?

3. If flashing through segger embedded studio of light switch example, what are the output files segger studio will flash to nrf52840 DK ?

4. Do we need to configure SRAM and FLASH memory for light switch example in Segger edit options ? if yes what are the values ?

Note: Light switch mesh example working with nrf5_SDK_for_Mesh_v2.1.1_src\bin\ospace\examples\light_switch\client or server or provisioner hex files already provided in the SDK.

Parents
  • In continuation to my previous comment, after flashing the nRF 52840 boards through Segger, I am suspecting server unable to advertise... Due to this provisioner not able to add to the network.

    Please reply to the above queries mentioned in my previous comment ASAP. So that i can test mesh after flashing the nrf52840 boards(cleint,server,provisioner) through segger embedded studio..

Reply
  • In continuation to my previous comment, after flashing the nRF 52840 boards through Segger, I am suspecting server unable to advertise... Due to this provisioner not able to add to the network.

    Please reply to the above queries mentioned in my previous comment ASAP. So that i can test mesh after flashing the nrf52840 boards(cleint,server,provisioner) through segger embedded studio..

Children
No Data
Related