0335 is crank sensor
0340 is cam sensor
I *think* the 2.0l can "run" with only one of them working, but might be a bugger to start.
according to the fault code list for the 2.0 0335 is incorrect rpm signal. it is however for the 2.2 a crank sensor.
The RPM is calculated from the signal provided by the crank sensor. So both lists are correct.
P0335 is a standard OBDii code for a problem with the crankshaft speed sensor.
P0340 is a standard OBDii code for a problem with the camshaft speed sensor.
I suspect that the engine needs to crank for more than a pre-defined period, without starting, before the ECU will try to operate with no cam signal. (Or vice-versa on some non V6 engines). Try cranking for at least 10 seconds. If no start then try at least 20 seconds.
It looks like both the crank and cam sensors connect directly to the Simtec ECU. So if your sensors are good then the fault must be in the loom feeding the sensors. Most likely the mating halves of the connectors on the sensors.
I find it hard to believe that both sensors failed at the same time. So I'm also wondering under what circumstances a failed crank sensor could induce a false positive in the cam sensor.