ESP32-CAM PSRAM Initialization failure and Timed out waiting for packet header Error

The ESP32 CAM (WROOM) already has the 4MB of PSRAM RAM it needs to run. I'm sure you do not need to plug in a memory card if you are using the proper ESP32CAM.

I did not see the normal message sequence of upload a program to the ESP32 CAM.

After the jumper is in place, then press the button, the ESP32CAM will give a message that it is ready for upload. Then start the upload.

That tells me your program tried to read a memory address that is not there.

Install the ESP Exception decoder and use it, look it up on the internet.

Post a pick of your setup. Especially how you've plugged in a memory card.