Dear all,
In our application, we have two MCU connected through the UART. The Core MCU executes the application while the Nordic nRF52840 MCU functions as NCP/RCP using Nordic SDK for Thread and Zigbee 4.1 stack. We are using the Zigbee protocol. We could update the nRF52 firmware OTA by sending the firmware image package built using nrfUtil through the deConz and Conbee hardware.
However, in the case of the Host MCU, we need to send the file from deConz over Zigbee to the nRF52 NCP/RCP and then send the file over UART to the Host MCU which by itself performs the update.
For this, we need to know where the file sent from deConz is stored in the memory of nRF52 so that the buffer can be sent over UART to the Host.
I would appreciate if you could provide pointers as to how we can do that. We could locate the header of the sent package in the memory but not the actual buffer where the image of the firmware is assembled after it is received block by block over the air.
Also, the Host MCU firmware image which is in DTS format needs to be packed in the same way as the nRF52 HEX file along with a manufacturer id and an image-type so that the two images of the Host MCU and the nRF52 MCU can be distinguished. The nrfUtil gives an error if we pass the DTS file to generate the pkg just as we do for the nRF52 HEX file. Any pointers on how we can package the two images individually and transmit to the Zigbee device so that the image-type can be used to distinguish the target MCU and specifically send the Host MCU image over UART.
Thanks in advance for your time.
Kindly,
Shivaprasad.