WARNING: This page is about a different car, the 2003 Mazda 6. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: DTC 06, 10, 12, 14, 21: Climate Control Unit (+5V Power Supply Or Sensor Ground System) Or System Ground System Inspection - Diagnostic Procedures