Have a NCS/ZBoss-based Zigbee app running and I want to enable FOTA, and it was failing with missing app_update.bin file.
Thinking it might be something with my own code, I enabled FOTA for the light_switch sample and built it, that's when things got strange.
The end of the process is (sometimes??):
Looks good. But when I ran it again:
[Errno 2] No such file or directory: '/path/to/dev/nrf/build/zephyr/app_update.bin'
Odd... So, running west build in a loop (with -p always) and piping output to log files, I find that 11 runs out of 30 produce the update image, and the rest fail. Same command, pristine builds, different results. It's almost every second run for a while, but not really.
Successes:
Failures:
and it never succeeds with my own code.
The questions are basically what is causing this, or how can I get the system to at least tell me what's wrong when it's ending with: