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

How to extend mesh light_switch example with DFU

I am using the Mesh-SDK v1.0.0, the device is the nRF52832xxAA on PCA10040-Boards with the Softdevice s132. I am new to the development with BLE, and specially mesh. I have successfully done the DFU example, the application won't work, but the DFU looks like it was ok. Now my qestion:

  1. How could I extend the light_switch example to be DFU-ready? (primary target)
  2. Why is the example binary (app_green_s132.hex), which was a part of the DFU exmaple not working? (The board just stops working after the DFU) Is there any sourcecode for this application? Is inside the app_green.hex a build in DFU-functionality, to upgrade this app to a new version?
  3. Somwhere in the documentation stands, that the DFU functionality from the bootloader will be used for the application, how many space is needed in addition to lets say the light_switch-application to implement the DFU functionality? (I tried to update the DFU example with the examlpe itself, but the firmware looked to be too big, i've got a error message at the start of the download "Abort event. Reason: 0xD").
  4. Is there some documentation about the porting of the DFU functionality inside a mesh-application? Or the usage of the bootloader DFU inside the mesh-pplication code?
Parents
  • Why is the example binary (app_green_s132.hex), which was a part of the DFU exmaple not working? (The board just stops working after the DFU) Is there any sourcecode for this application? Is inside the app_green.hex a build in DFU-functionality, to upgrade this app to a new version?

    app_green.hex is a led blinking program which will blink led 1. it does not have dfu functionality. i have done the same after the dfu my led 1 started blinking but my other device on mesh did not get dfu packet after i pushed dfu to my first device. 

    the reason is to use app_green.hex to verify that dfu works correctly on not i tried to build dfu.zip package with dfu enabled application but it was taking more time to push update about 1 hour in my case.

Reply
  • Why is the example binary (app_green_s132.hex), which was a part of the DFU exmaple not working? (The board just stops working after the DFU) Is there any sourcecode for this application? Is inside the app_green.hex a build in DFU-functionality, to upgrade this app to a new version?

    app_green.hex is a led blinking program which will blink led 1. it does not have dfu functionality. i have done the same after the dfu my led 1 started blinking but my other device on mesh did not get dfu packet after i pushed dfu to my first device. 

    the reason is to use app_green.hex to verify that dfu works correctly on not i tried to build dfu.zip package with dfu enabled application but it was taking more time to push update about 1 hour in my case.

Children
No Data
Related