Reflow and X-Ray tests can result into quality losses during the production of PCBs. Downstream programming avoids this and at the same time achieves further advantages, which is why in-system programming is also recommended by semiconductor manufacturers. You can read more about the technical background as well as solutions with the XDM Series in ProMik's application note.