Oops - new Write Word alignment code in the TPI programming function means that the WriteBuffer parameter is no longer const.