Hi Witek,
Usually the Zigbee Applications have more than 200k flash usage, so the over the air programming requires an external flash for JN5168.
For kw41, where the flash memory is 512k, we can split the internal flash memory in two sections, one being used for current application, and the second for storing the received image via an OTA process.
Regards,
Ovidiu