Brownout detector was triggered - cannot revert to working state


I am using an ESP32 board and had a code running properly on it.
I plugged a TFT screen on the board and uploaded my code and started getting this error.

I understand it is related to a lack of power and I saw several suggestions on how to address it.

I removed the screen and reverted the code to what worked before, but the error doesn’t go away.

I am not even sure the code is being updated.

Is there a way to force get it back to work?

Kind regards

Brownout detector was triggered

ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
mode:DIO, clock div:2
entry 0x400805e4

I believe the board is not lost.

I followed the steps on this page and managed to upload a code that executes. (see hello_world link below)

esp-idf/examples/get-started/hello_world at master · espressif/esp-idf


Espressif IoT Development Framework. Official development framework for Espressif SoCs.

I tried to upload to super basic code from ArduinoIDE and Platformio and the error returns.

What is the difference?