reconfiguring protection diodes