d17a is a single stage vtec motor,ecu we were using was from 3stage vtec,we got code number 47 when we wired the motor,this problem was in principal was needed to be resolved by d16w9's head or d17a's ecu.
but we made ecu ''mamuu'' :P,installed another solenoid in the circuit which eliminated the check light(2nd solenoid is not functional as it has no mechanical connection with head).