Use M5Burner to erase the firmware and burn UIFLOW2 for Core2/Core2AWS.
once the process is complete and the button turn green, close M5Burner and press the reset button.