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

Need FOTA Support in LWM2M firmware update object using block2 coap process.

Hi 

We searched a lot of stuff regarding FOTA update in nRF52840DK using Lwm2m and coap protocol. But we could not get help in the right direction. We could not find any stuff or documentation (explanation) regarding BACKROUND_DFU in nRF16_SDK.

We already implemented firmware object and its instance callback with existing lwm2m client example. Now we want to update the firmware over the air using lwm2m and coap protocols. Please share any kind of stuff or example you have so that we can get out from this trouble

Parents
  • Hi,

    I have looked at the log now. It looks like you are logging a bit too much or have too small buffers, as I see the log is incomplete and with some messages indicating logs have been dropped). In any case, I see a long log with logs indicating that the image is transferred (completely or not?), and then cose to the end there is a reset, and the only DFU related information is this:

    <info> background_dfu: Storing block (b:445 c:445).
    
    
    <error> nrf_dfu_req_handler: Write request too long
    
    
    <info> background_dfu: state=DFU_DOWNLOAD_FIRMWARE event=DFU_EVEare.
    

    I do not see any indication of attempting to post validating the app after transferring it. Do you? This thread might be relevant in that regard.

Reply
  • Hi,

    I have looked at the log now. It looks like you are logging a bit too much or have too small buffers, as I see the log is incomplete and with some messages indicating logs have been dropped). In any case, I see a long log with logs indicating that the image is transferred (completely or not?), and then cose to the end there is a reset, and the only DFU related information is this:

    <info> background_dfu: Storing block (b:445 c:445).
    
    
    <error> nrf_dfu_req_handler: Write request too long
    
    
    <info> background_dfu: state=DFU_DOWNLOAD_FIRMWARE event=DFU_EVEare.
    

    I do not see any indication of attempting to post validating the app after transferring it. Do you? This thread might be relevant in that regard.

Children
No Data
Related