Calibration of the charm fine-grained calorimeter