The problem is, since flashing the code, I have been unable to flash since.
I believe this is because I've initialized the ILI9341 library using pin D3 as RST.
Whenever I plug it in, it connects for less than a second, then disconnects from my computer.
The display code (using Adafruit GFX) works as expected.
I have tried flashing blank scripts as soon as I plug it in, but there is not enough time.
I have also tried doing the same, while holding the RESET/FLASH button on the MCU.
I have not tried removing the screen yet, as I don't want to disassemble the project unless absolutely necessary.
I need to complete this project for an assignment, and I won't be able to order another MCU, but I do have at least a month to fix this.
Please advise on how I can recover this, so I can resume work on my project.