These control units rarely fail. First thing to check is the wiring harness and all connections. Failures with electronic components are usually at the connectors, Also, you can learn all about the TCM here:
http://www.xoutpost.com/articles/x5/g...ng-manual.html
Electronic Transmission Control
Electronic Transmission Control II