Is The Ecu the same part no as the one that is off the Vehicle. ?? If an Ecu off an RHZ or RHS engine has been fitted, it will cause it not to rev. ( and it will log faults for Boost solenoids etc )
Most faults on these are caused by wiring faults rather than control units.
Check Immobiliser wiring from ecu to BSI. >> 2 wires << ( All info available in your favourite tech data. )