I'm sorry you're having problems getting your unlocked Motorola Charm working with the T-Mobile network. T-Mobile has limited support available for devices not sold by T-Mobile. If the SIM card is working in a T-Mobile device, that means that the T-Mobile network and SIM card are operating correctly. You may want to contact Motorola for additional support.
Hope this helps!