I have a 1997 jaguar xk8 with a p0335 code and I replaced the crankshaft position sensor with a new one and erased the code and it still comes back and the car won't start any clues?????
Though this code indicates an issue with the crankshaft sensor, it is possible there may be an issue with wiring. Here is some more info for you.
P0335 JAGUAR - Crankshaft Position Sensor Circuit 'A' FaultRead more: https://www.autocodes.com/p0335_jaguar.html