본문 바로가기

카테고리 없음

ESP32 - BOD: Brownout detector was triggered

728x90
반응형

ESP32-S3 개발보드를 통해 monitor를 하면서 개발 진행중

 

I BOD: Brownout detector was triggered
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403758b1
--- 0x403758b1: rtc_brownout_isr_handler at /home/taltal/git/keyboard_ESP32-S3/esp-idf/components/esp_system/port/brownout.c:72
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x1874
load:0x403c8700,len:0x4
load:0x403c8704,len:0xd20
load:0x403cb700,len:0x2ea4
entry 0x403c8928

 

위 에러가 발생하면서 무한 부팅 발생

 

전원공급이 제대로 되지 않아서 발생하는 문제라함...

웬 전원공급? 항상 하는 컴퓨터에 usb 연결을 하는 건데?

허브를 통해 연결하거나 USB 연결 자체가 부실하게 된 경우 그럴수 있는 듯 하다.

 

USB를 빼서 정확히 다시 꽂아보고 하니 정상 진행

 

 

 

Claude 답변

 

This error indicates a brownout detection (BOD) event on your ESP32-S3, which means the voltage dropped below the safe operating threshold. This is a protective feature that triggers a reset when the power supply is unstable. Here are several possible causes and solutions:

  1. Power Supply Issues:
    • Ensure your USB cable is capable of providing sufficient power (use a high-quality cable)
    • Try using an external power supply with adequate current capacity (at least 500mA)
    • If using batteries, make sure they're fully charged or try fresh ones
  2. Hardware Configuration:
    • Add a large capacitor (100µF or larger) between VDD and GND close to the ESP32-S3
    • Check if you have any high-current components that might cause voltage drops
    • Verify all power-related connections are solid and not loose
  3. Development Environment:
    • Try a different USB port (preferably USB 3.0)
    • If using a USB hub, connect directly to the computer instead
    • Check if your computer's USB ports are providing enough power
  4. Software Solutions: You can try adjusting the brownout detector threshold in your code. Add this to your sdkconfig or use menuconfig:
CONFIG_ESP32S3_BROWNOUT_DET=n      // Disable brownout detector
// or
CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_7=y  // Adjust brownout threshold

 

 

To diagnose the issue:

  1. First measure the voltage at the ESP32-S3's VDD pin during operation
  2. Monitor power consumption during different operations
  3. Try running a minimal test program to see if the issue persists
728x90
반응형