Hi,
We are having custom HW and having NRF91DK and NRF52.
We have architecture as NRF91 and NRF52 (Central) is connected over UART and NRF52 (Central) and NRF52 (Peripheral) is communicated over BLE.
Now, we would like to upgrade NRF52 (Peripheral) so we have uploaded image on NRF91 using smp server and transferred to NRF52 (central) and from central to peripheral. With this, we are able to upgrade the device. Yer this is with hard-coded total image size.
Now, I would like to understand how I can get total image size (same as app_update.bin file size). Is this data written in image itself? I can get header and + fw size. But still tailer and TLVs are not able to get. This is required to get how much data I need to tranfer over UART and over BLE.
If there is no way currently, can you guide a solution? Can we write a custom python script which can write image size in header somewhere (I can see header size is of 512 bytes and most of are unused).