So the problem is, the program trapped in the while loop and could not get back to loop() Then the serialEvent() was dead?