The principle diagram of the equipment:
Power supply: high-energy cubic ACDC power 12 v @ 12 w
Master: STM32F103
Peripheral: relay/485
Relay control ac contactor, dozens of A current of ac contactor control mains test found that randomness occurred within the Flash data loss problem (Flash internal division two sectors to do data, such as ID, equipment operation after A period of time, ID is missing, directly into FFFF), don't know what the problem is,