Hello Jing,
How is your GPIO0 configured and have you tested other GPIOs?
To diagnose the exact cause, consider performing a detailed analysis of the circuit, including measuring the actual input signal, checking the stability of the reference voltage and reviewing the PCB layout for potential issues.
BRs, Tomas