How to upgrade the nRF52832 tag in OpenWRT+nRF52832 gateway

How to upgrade the nRF52832 tag in OpenWRT+nRF52832 gateway

gateway(openwrt+nrf52832)
|_____ nrf52832 tag1
|_____ nrf52832 tag2
|_____ nrf52832 tag3
|_____ nrf52832 tag4
|_____ ......

I use OpenWRT+nRF52832 as the gateway to connect to other multiple nRF52832 devices. Now you want to upgrade nRF52832 tag on the device side through nRF52832 of openWRT gateway

Could you please give me some suggestions? Thank you very much!

Parents
  • Hi,

    Is this a consumer product, or a custom setup? As far as I know, this is not a solution provided or supported by Nordic. 

    How are you interfacing with the nRF52832 from OpenWRT? What firmware is running on the nRF52832?

    Do I understand you correctly that you want to update the firmware running on the nRF52832 tags over BLE (DFU) from the nRF52832 connected to OpenWRT?

    Best regards,
    Jørgen

Reply
  • Hi,

    Is this a consumer product, or a custom setup? As far as I know, this is not a solution provided or supported by Nordic. 

    How are you interfacing with the nRF52832 from OpenWRT? What firmware is running on the nRF52832?

    Do I understand you correctly that you want to update the firmware running on the nRF52832 tags over BLE (DFU) from the nRF52832 connected to OpenWRT?

    Best regards,
    Jørgen

Children
  • hi,

    Thank you for your reply,

    How are you interfacing with the nRF52832 from OpenWRT?

    >> Openwrt is connected to NRF52832(Gateway side) via serial port

    What firmware is running on the nRF52832?

    >> Now we want to upgrade the label side

    Do I understand you correctly that you want to update the firmware running on the nRF52832 tags over BLE (DFU) from the nRF52832 connected to OpenWRT?

    >> Yes, that's what it means

    Best regards,

  • Still missing some details to understand your questions.

    What hardware is OpenWRT running on?

    You say you have a nRF52832 connected to OpenWRT through a serial port. What firmware is running on this device? Are you running any applications on OpenWRT that talks to this device over serial? Is it using pc-ble-driver(-py)? Or HCI? Something custom?

    If your OpenWRT device can run Python, nrfutil is the tool we provide to perform DFU over BLE. This may or may not work well with your OpenWRT device based on its capabilities and HW architectures.

  • What hardware is OpenWRT running on?
    >> mt7628

    You say you have a nRF52832 connected to OpenWRT through a serial port. What firmware is running on this device? Are you running any applications on OpenWRT that talks to this device over serial? Is it using pc-ble-driver(-py)? Or HCI? Something custom?
    >> Now if you do not upgrade the NRF52832 connected to OpenWRT, but upgrade the tag of only NRF52832, now you can upgrade the NRF52832 tag on Android. I want to upgrade the NRF52832 tag via BLE in OpenWRT. How do I do that??

  • nrfutil that I linked above would likely be the only option that we provide that could be used, but I'm not sure if your mt7628 can run Python, or if you are able to build nrfutil for this platform.

    The other alternative is to write a custom DFU server implementation following the DFU protocol documentation.

Related