Having problem with Gravity: 2.0 Inch IPS Color Serial Display with I2C & UART ?

Hey everyone,
I accidentally swapped the display pins the wrong way on my ESP32 board. After that, the display stopped working — I can still see the power light on the board, but when I connect it to my PC, it keeps connecting and disconnecting repeatedly.
If I hold the BOOT button while connecting, the board stays connected and shows up as “USB JTAG/Serial Debug Unit” on my system.
I think the firmware might be corrupted, but I’m not sure how to re-flash or reinstall it.
Can someone please guide me on how to restore or flash the firmware again?
Thanks in advance 🙏