Sure I saw the exact same question recently. If you have the same gearbox as I have, I can guarantee it wont work. But if you read the following info off the two ECUs and they tally, you are in business:
Version:
Bosch hardware number:
Bosch software number:
Production code:
BMW software number:
Generation number:
HTH