Could I dfu my nrf54l15 board through my nrf52820dongle board?

I am running on bluetooth peripheral_uart demo with my nrf54l15 board and enable dfu feature so that it could upgrade firmware by using mobile app "nRF Connect", and it worked.

And now, I want to use my nrf52820dongle instead of mobile app to upgrade the firmware of my nrf54l15 board, just like the mobile app does.

Is it possible or not? How to do this? 

AFAIK, there is a demo "smp_client" in ncs, should I run this demo on my nrf52820dongle? But I run my nrf52820dongle based on nrf5 sdk v17.0. Could I just enable the smp_client feature and achieve what I said above in nrf5 sdk v17.0?

Parents
  • Hello, and sorry for the late reply.

    Unfortunately, we don't have anything doing exactly this. 

    We do however have two building blocks that can be used. 

    1: NCS\nrf\samples\bluetooth\central_smp_client

    2: NCS\nrf\samples\cellular\lwm2m_client

    The first one shows how to implement the client side of an smp server. SMP is the server that is used to upload the new application image.

    The second one is an nRF91 sample that is capable of updating an nRF5x on the same board using UART (for mcuboot).

    So basically, what you would need to do is to use the "update nRF5x device from nRF91 device, port it to run on the nRF52820 instead, and switch out the uart transport layer with BLE transport.

    I am not sure of the flow in the lwm2m_client app. Not sure if it receives the application chunk wise, or if it downloads the entire image first. If it is the last, I don't think you would be able to fit the entire application for the nRF54L15 on the nRF52820, so you will have to figure out how to work around that. 

    Just out of curiosity, you say that you are using the "nrf52820dongle". We don't have an official nrf52820 dongle. What sort of device are you using? Do you have a part name for it? Or a picture?

    Best regards,

    Edvin

Reply
  • Hello, and sorry for the late reply.

    Unfortunately, we don't have anything doing exactly this. 

    We do however have two building blocks that can be used. 

    1: NCS\nrf\samples\bluetooth\central_smp_client

    2: NCS\nrf\samples\cellular\lwm2m_client

    The first one shows how to implement the client side of an smp server. SMP is the server that is used to upload the new application image.

    The second one is an nRF91 sample that is capable of updating an nRF5x on the same board using UART (for mcuboot).

    So basically, what you would need to do is to use the "update nRF5x device from nRF91 device, port it to run on the nRF52820 instead, and switch out the uart transport layer with BLE transport.

    I am not sure of the flow in the lwm2m_client app. Not sure if it receives the application chunk wise, or if it downloads the entire image first. If it is the last, I don't think you would be able to fit the entire application for the nRF54L15 on the nRF52820, so you will have to figure out how to work around that. 

    Just out of curiosity, you say that you are using the "nrf52820dongle". We don't have an official nrf52820 dongle. What sort of device are you using? Do you have a part name for it? Or a picture?

    Best regards,

    Edvin

Children
No Data
Related