HI Dialog Team ,
A custom board is made using DA14580-01 ,where the application boots from an external SPI flash. The smart snippet is used to load the custom application hex file to the SPI flash.Once the Spi flash is erased(empty) the jlink debugger detects the Da14580 and connects in the smartsnippet stating "Successfully downloaded firmware file to the board." after which the application hex can be burnt.
After reset the SPI flash boots and the application executes ,Da14580 is advertising. Once again when i try to connect the board in the smartsnippet (now SPI Flash is not empty) it logs "Failed downloading firmware file to the board." . So i have to press reset continuosly such that it should sync with connect button (ie. jlink should detect the arm core of dialog before SPI boots the application ).This doesnt seem to occur while flashing the proximity reporter_fh hex.It occurs only in the custom application.The application is made using template_fh such that it should advertise some constant values in the advertising packets.
So is there any preconfiguration to be done in template_fh to overcome this issue ?