RCM relay acting up most likely . Inside relay control module there is one relay (the rightmost if I remember correctly) that is controlling the smog pump.
I had the pretty much the same issue with same code. First I opened the RCM module and cleaned the relay contact points.
Worked for a while until same thing happened again. Then I cleaned it again, worked fine until acted up again and this time the smog pump stayed
on too long and was burned out. It takes only 15mins or so to destroy that pump as it is supposed to run only 45 seconds during cold start.
Ended up replacing with new RCM module AND new Vemo smog pump V30-63-0037 (original Bosch was 3x as costly).
Everything has worked fine ever since.
Behind this link is info about RCM..
https://www.crossfireforum.org/forum...hat-n-rcm.html