Lolin ESP32 S2 mini error flashing

Hi…I would like to know if you alredy have any ESPHOME update code or procedure to flash Lolin ESP32-S2 MINI. I based the whole wall TOUCH LCD displays to control the home appliances because the module PSRAM feature but I can flash the module using the esphome web tool or the flashes.
Thank you very much. I am pleased using HA/ESPHOME.

I have only been able to get them to flash by connecting them directly to the machine running HA. I’ve tried using the web tool from a remote computer and it always fails.

ESPhome will still log an error after a successful flash due to not being able to reset the device. You can ignore this and just reset the board using the button or by removing power.

Did you do this using the UI connecting to the HA machine and run that way, or directly logon to the HA device locally with screen, keyboard and mouse?