Hi DGraham,
I am an engineer with ANT Wireless that works primarily on firmware upgrades and bootloaders.
I would like to do a little more information gathering around your problem. My colleague notified me that you have a thread here:
https://devzone.nordicsemi.com/question/168016/nrf52-ant-dfu-hangs-at-wait_for_events/ with some information
I would tend to agree with Petter that this looks like it is related to a difference in hardware or configuration between the DK and your custom board. Could you please send or diff the sdk_config.h files between the application and bootloader?
Common Issues:
- No external LF crystal
- Building bootloader with wrong/mismatched softdevice headers to the softdevice .hex actually on the device
- No ANTFS network key set
I just tried building the bootloader and running an update with the DK board and everything works good on my end. I am testing with no application for now, only the bootloader and softdevice, and updating with the same bootloader .hex image.
Can you try debugging the bootloader and placing a breakpoint in upload_data_response_fail_reset (dfu_transport_ant.c). If it hits that breakpoint, can you show me what the call stack looks like? You may have to turn optimization off in the project settings.
If it never gets to this point, I would be leaning more towards an issue with the crystal or softdevice configuration.
Thanks,
Matt
[ Edited: 27 September 2017 12:15 PM by msembinelli ]