I am using an ESP32 board with a code running properly. Nothing was attached to the board
I plugged a TFT screen on the board, uploaded my code to use the screen, and started getting this error below.
I understand it is related to a lack of power and I saw several suggestions for addressing it.
I removed the screen and reverted the code to what worked before, but the error doesn’t go away. Still nothing connected to the board
I am not even sure the code is being updated or executed.
I am now trying with a very basic code just to print some on the Serial.
I also tried:
Code: Select all
#include "soc/soc.h"
#include "soc/rtc_cntl_reg.h"
void setup()
{
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0);
Serial.begin(115200);
Serial.println("Brownout detector disabled");
}
void loop()
{}
#define CONFIG_ESP_BROWNOUT_DET 0
The error remains
Is there a way to force get it back to work?
Kind regards
Code: Select all
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
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13104
load:0x40080400,len:3036
entry 0x400805e4