I have an adafruit qt py esp32-s2 that i accidently put in ciruitpython mode which means that i cant upload any arduino code to it. Idk why this happends all i know is that i need to be able to upload arduino code to it, otherwise i need to buy a new one.
You can always upload by activating the ESP32 ROM bootloader. There is a typo in the page below so where it mentions DFU button, it should be RESET button.
When i did what you said to me, put the board in download mode by holding the BOOT button and pressing RST and then releasing the BOOT button. That works, then i flashed my code to the board, which also works. Then i pressed the RST button and the board shows a purple light, a red light and then a green light before the board opens a new drive on the computer that is called QTPYS2BOOT or something like that.