No, the ecu just thinks the engine isn't turning so no code, I've had it on my CRD, driving along happily, stopped to pick up my daughter, car won't restart until it cools down, I was busting for a wee too!
It's a fiddle to replace, behind the exhaust downpipe.