After many months since I first worked with ESP-CAM module, I tried to upload a code into it. But I got errors. I checked and remembered that I encountered such problem back then which I wrote about in my note Troubleshooting Uploading Problem with ESP32-CAM, ESP32 and ESP8266 NodeMCU.
The first part of the problem is the COM port driver for the ESP32-CAM. In windows OS, from the device manager the error is usually shown as:
PL2303HXA phased out since 2012.
I remembered having solved this problem and I even recorded a video to help me in the future. Below is the video on how I solved this problem.
You can download the file from the following links:
https://answers.microsoft.com/en-us/windows/forum/all/pl2303hxa-phased-out-since-2012-version-38310/2ef1d8fa-59fc-421e-9510-b1f63c68d4f9
or
https://1024terabox.com/s/1MIgu0uQ8nzbAoH3Msz6nVw
After doing this, I was able to upload the code into the ESP32 CAM module.