Re: after changing secondary air pump...
Did you clear the CEL code and it came back on, or did you not clear the code? If not cleared, you can disconnect the battery for about 15 minutes(?) and it will clear all codes. You dont need to reprogram the ECU.
MikeR