I have seen a lot of people having same type issue I am with sketch messing up NANO ESP32, and re-flashing bootloader does not return it to "Genuine Arduino ESP32" It thinks its "Ozobot esp32" , and programming and serial behaves differently then it did a week ago when I took it out of the box.
I saw reference to a 9 step process, but have not found it.
Thank you, but no improvement. I have done this procedure 9 times already, and It still does not restore the DFU functionality to this board. I can upload sketches using the esp tool mode, but it then jumps from Com13 to com12 when it resets.
I once posted an eleven step recovery process, be aware that during this process the COM port number can change and is quite normal so keep an eye on the port number in "Tools" every step of the way.
Nano ESP32 Bricked? - #3 by sumguy.._gaMTkyOTA4NTQzMy4xNzkxMjEwMzI1*_ga_NEXN8H46L5*czE3OTEyMTAzMjUkbzEkZzAkdDE3OTEyMTAzMjUkajYwJGwwJGg2MDQ5NDIzMjE.
BitSeeker, you are the winner! This has gotten my board straightened out, back to booting properly, and downloading code via DFU on com 13 and the serial port not crashing! Yay!