d2 is the overheat code when the boiler has overheated. it will work once its cooled down. check the diverter valve see if its opening when asking for central heating as if it remains closed it will cause the boiler to overheat hope this helps
santa elf
December 2012