finish half of CFM. we need add more things into this module, such as power-up statistics, watch dog feeding, and so on.