ESP32 error depending on partition scheme

I think the problem must somewhere else. Not in the code.

I will try to update the board revision and the parameters in my computer.