According to the drawing there are several things that can make your alternator not work.

I would start with the two fuses in the Power Distribution Center and check them with a 12 Volt Test light.
Test the Auto Shutdown Relay, if you are lucky it is a standard ISO relay that will fit other cars and readily available. Jumper the relay if you need to to see if that is the cause of not charging.
Try with just the key on first, but you may need to run the engine to do the tests.
Test pin one on the alternator with the Dark Green with red strip wire on it, use both a test light to load it and a volt meter to make sure you have 12 volts. The test light will load the circuit and if you have a flaky relay, fuse, or connection it will light very dim or not at all, even if the volt meter reads 12 volt. Check pin 2 on the alternator with the test light and see if it lights up. According to the drawing on your '02 CRD, the ECM controls the charging voltage. Looks like it varies the ground of the alternator rotor either by analog or digital type switching, from a lets get it going stand point it is a pin head academic issue. Relays, fuses, and connections are more apt to fail than an a Bosch ECM.
If you have a manual transmission, you should not have or need a TCM. In the US the Acid Head Hippie run EPA has regulations that are not friendly to diesels and with the KJ CRD we could only get it in Automatic.
Good Luck