Setup:
nRF Util
nRF52840DK
Hi all,
I am using the Zigbee FOTA server provided by nRF Util DFU Zigbee for updating my Zigbee End Device(ZED).
When I was trying to flash the nRF52840DK with .zigbee image in following way:
nrfutil dfu zigbee -f app.zigbee -chan 25 -snr 683904357
I got an nrfjprog error:
address 0x00100000 does not map to a known memory.\nerror: the file specified is not a valid hex file, has data outside valid areas
After some investigation and code review of python nRF Util DFU Zigbee packaged I noticed that the application image to be sent over the Zigbee is placed at address:
OTA_UPDATE_OFFSET=0x80000.
In the ota_flasher.py I spot following lines of code :
ih = IntelHex() update = open(fw, 'rb').read() ih.puts(OTAFlasher.OTA_UPDATE_OFFSET, update)
I am using nRF52840DK as a FOTA server so maximum size of the image used for FOTA can be 1024kB - 0x80000 = 512kB.
Unfortunately my ZED application exceeded 512kB.
What makes things worse is that the FOTA Server comes with precompiled .hex file so it is impossible to adjust that offset.
My questions are:
Is Nordic able to provide the code for the Zigbee Fota Server ?
Is it possible for Nordic to extend nRF Util functionality to support nRF52840DK external flash ?
Is it possible to get from Nordic a template which will implement Zigbee FOTA Server over NCP ? Then fota image can be sent directly from PC for example.
At this moment testing FOTA by using any nRFDK is impossible. It is a blocking point for development and testing.
I look forward to hearing from you