Correct .... if your engine address is 128 or more, set CV 29 to 34 .... if the engine address is less than 128, set CV 29 to 2 to dis-able analog DC.
CV 2 should be set to 0 - at least to start with. A value of 10 is applying voltage to the rails even at speed step 0.
Lastly, FWIW - I seem to recall the same scenario as you are having .... everything was working just fine until I used the "factory reset" which sent the decoder into permanent confusion. The decoders WERE replaced no charge due to a manufacturing glitch. With so many TCS decoders on my layout - and uncertain which versions were which - I no longer use the factory reset option for fear of this happening again !
Mark.
¡ uʍop ǝpısdn sı ǝɹnʇɐuƃıs ʎɯ 'dlǝɥ
Seeing as how you ARE able to reprogram the decoder on the program track, have you dis-abled the DC mode of operation ? Try entering a value of 2 in CV29. Also, manually go through the CV's to make certain they HAVE in fact been reset to factory default - particularly CV 2 (start voltage). I've had a few case scenarios where the factory reset missed resetting a couple CV's (I have over 60 TCS decoders in operation).
Out of curiosity, with CV 29 having a value of 6 (DC mode enabled), are you able to run the engine properly under DC control ?
Finally, failing all this testing, TCS had a transistor "issue" with the version 40 T-1 decoders that were produced in December last year and T-1 decoders were replaced en masse by the manufacturer. All else fails, contact the manufacturer.
So .... at this point you can't even place the engine on the track without it taking off ? - even after leaving it off the rails for at least 30 seconds ?
You say you can't reprogram it .... are you unable to read back any of the CVs on the program track ?