Hello and thank you for reading this.
To cut a long story short I made myself a panel for a linear PSU that displays current, voltage and other info, using an ESP32, ADS1115 and an ST7735 display. I was programming the ESP which was connected to the power supply as per the schematic attached. The power supply itself had no load connected and it was not plugged in.
I also took the precaution of unplugging the 5 volt power supply that powers the all of the panel electronics. I made sure there was no way I could fry my laptop. Well, after uploading the code it crashed two of my usb ports. One of them still worked. The error was "port reset failed" After upgrading to Windows 11 ( I suspected my laptop had some driver compatibility issues) and deleting the usb hub driver plus restarting the laptop they all came back.
Now, I also failed to use the proper button sequence for programming the ESP. Was it that which crashed my ports or some
sort of transient effect?What could I do in the future? I looked for USB isolators but the cheaper ones are only able to supply 200 mA of current. Could I simply use a USB cable with a Schottky diode in series with the 5 volt line? I'm scared to even connect the thing to my laptop anymore. No shorts were detected.
Thanks for taking your time to help me.

To cut a long story short I made myself a panel for a linear PSU that displays current, voltage and other info, using an ESP32, ADS1115 and an ST7735 display. I was programming the ESP which was connected to the power supply as per the schematic attached. The power supply itself had no load connected and it was not plugged in.
I also took the precaution of unplugging the 5 volt power supply that powers the all of the panel electronics. I made sure there was no way I could fry my laptop. Well, after uploading the code it crashed two of my usb ports. One of them still worked. The error was "port reset failed" After upgrading to Windows 11 ( I suspected my laptop had some driver compatibility issues) and deleting the usb hub driver plus restarting the laptop they all came back.
Now, I also failed to use the proper button sequence for programming the ESP. Was it that which crashed my ports or some
sort of transient effect?What could I do in the future? I looked for USB isolators but the cheaper ones are only able to supply 200 mA of current. Could I simply use a USB cable with a Schottky diode in series with the 5 volt line? I'm scared to even connect the thing to my laptop anymore. No shorts were detected.
Thanks for taking your time to help me.
