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

After flashing light switch provisioner . I started RTT viewer to see log I am getting the following error

<t: 0>, main.c, 561, ----- BLE Mesh Light Switch Provisioner Demo -----
<t: 0>, mesh_softdevice_init.c, 117, Initializing SoftDevice...
<t: 0>, mesh_softdevice_init.c, 75, Enabling BLE...
<t: 540>, app_error_weak.c, 95, Mesh assert at 0x00031E6A (:0)

Parents Reply Children
  • Yes, I followed each and every step.

    I generated Hex files too.

    Below see the steps followed.

    after cmake -G Ninja ..

    -- SDK_ROOT=C:/BLE/SDK/nrf5_SDK_for_Mesh_v2.2.0_src/../nRF5_SDK_15.0.0_a53641a --- set with command line ARG
    -- PC-Lint executable not found. Linting disabled.
    -- SDK: nRF5_SDK_15.0.0_a53641a
    -- Platform: nrf52832_xxAA
    -- Arch: cortex-m4f
    -- SoftDevice: s132_6.0.0
    -- Board: pca10040

    after cmake -G Ninja -DTOOLCHAIN=gccarmemb -DPLATFORM=nrf52832_xxAA ..

    -- SDK_ROOT=C:/BLE/SDK/nrf5_SDK_for_Mesh_v2.2.0_src/../nRF5_SDK_15.0.0_a53641a --- set with command line ARG
    -- PC-Lint executable not found. Linting disabled.
    -- SDK: nRF5_SDK_15.0.0_a53641a
    -- Platform: nrf52832_xxAA
    -- Arch: cortex-m4f
    -- SoftDevice: s132_6.0.0
    -- Board: pca10040

    after ..\..\build>ninja flash_light_switch_provisioner_nrf52832_xxAA_s132_6.0.0

    it generate hex files in \SDK\nrf5_SDK_for_Mesh_v2.2.0_src\build\examples\light_switch\provisioner\light_switch_provisioner_nrf52832_xxAA_s132_6.0.0.hex for application 375 kb

    \SDK\nrf5_SDK_for_Mesh_v2.2.0_src\build\examples\light_switch\provisioner\light_switch_provisioner_nrf52832_xxAA_s132_6.0.0_merged.hex for merged application and soft device with size 782 kb

    but actual size of hex files in bin folder is
    examples\light_switch\provisioner\light_switch_provisioner_nrf52832_xxAA_s132_6.0.0.hex for application 266 kb.

    examples\light_switch\provisioner\light_switch_provisioner_nrf52832_xxAA_s132_6.0.0.hex for application 674 kb.


    existing hex files working fine.
    but build hex files are not working fine.
    its showing mesh assertion in RTT viewer.

    below is the error I am getting.

    <t: 0>, main.c, 561, ----- BLE Mesh Light Switch Provisioner Demo -----
    <t: 0>, mesh_softdevice_init.c, 117, Initializing SoftDevice...
    <t: 0>, mesh_softdevice_init.c, 75, Enabling BLE...
    <t: 540>, app_error_weak.c, 95, Mesh assert at 0x00031E6A (:0)
    not only for provisioner, same type of error for clent and server when I flashed hex file


    I erased everything in board. and flashed.

    -- Platform: nrf52832_xxAA

    -- Arch: cortex-m4f
    -- SoftDevice: s132_6.0.0
    -- Board: pca10040

    above specifications of the board using to flash.

    Thanks in advance.
    
    

  • I noticed that you created a new post with the issue above.

    We can close this thread for now, and continue the discussion the new post.

    Best regards,
    Joakim

Related