I have an error to moment of install Flash firmware, i am use esp32
This is no mongoose-os or mos-tool specific error, this is an error caused by the communication going wrong between the ESP32 and your system. Check if the USB cable is ok or try to lower the baud rate. These errors could happen with any software trying to "talk" to the device. If this doesn't work out, check the information given in the messages of looking into the Espressif Wiki.