Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32s3 with wifi boot loop, BROWNOUT_RST #3102

Closed
kaspar030 opened this issue Feb 5, 2025 · 2 comments
Closed

esp32s3 with wifi boot loop, BROWNOUT_RST #3102

kaspar030 opened this issue Feb 5, 2025 · 2 comments
Labels
bug Something isn't working status:needs-attention This should be prioritized

Comments

@kaspar030
Copy link
Contributor

Bug description

I have multiple esp32-s3 devkits that seem to reboot with BROWNOUT_RST.
I'm pretty sure they worked at some point though.

Any ideas?

Running `espflash flash --monitor target/xtensa-esp32s3-none-elf/release/wifi_dhcp`                                                                       
[2025-02-05T18:08:59Z INFO ] Serial port: '/dev/ttyACM0'                                                                                                       
[2025-02-05T18:08:59Z INFO ] Connecting...                                                                                                                     
[2025-02-05T18:08:59Z INFO ] Using flash stub                                                                                                                  
Chip type:         esp32s3 (revision v0.2)                                                                                                                     
Crystal frequency: 40 MHz                                                                                                                                      
Flash size:        16MB                                                                                                                                        
Features:          WiFi, BLE                                                                                                                                   
MAC address:       64:e8:33:54:3c:e4                                                                                                                           
App/part. size:    704,128/1,048,576 bytes, 67.15%                                                                                                             
[2025-02-05T18:09:01Z INFO ] Segment at address '0x0' has not changed, skipping write                                                                          
[2025-02-05T18:09:01Z INFO ] Segment at address '0x8000' has not changed, skipping write                                                                       
[00:00:42] [========================================]     439/439     0x10000                                                                                  
[2025-02-05T18:09:45Z INFO ] Flashing has completed!                                                                                                           
Commands:                                                                      
    CTRL+R    Reset chip                                                                                                                                           CTRL+C    Exit                                                                                                                                                                                                                                                                                                            ESP-ROM:esp32s3-20210327                                                       
Build:Mar 27 2021         
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)                               
SPIWP:0xee                                                                     
mode:DIO, clock div:2             
load:0x3fce3818,len:0x16f8   
load:0x403c9700,len:0x4       
load:0x403c9704,len:0xc00   
load:0x403cc700,len:0x2eb0                                                     
entry 0x403c9908               
I (30) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader      
I (30) boot: compile time Jun  7 2023 08:07:32                                                                                                                 
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v0.2
I (39) boot.esp32s3: Boot SPI Speed : 40MHz
I (44) boot.esp32s3: SPI Mode       : DIO
I (49) boot.esp32s3: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  2 factory          factory app      00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3c0a0020 size=195d4h (103892) map
I (130) esp_image: segment 1: paddr=000295fc vaddr=3fc90a60 size=02824h ( 10276) load
I (134) esp_image: segment 2: paddr=0002be28 vaddr=3fca8238 size=001ech (   492) load
I (136) esp_image: segment 3: paddr=0002c01c vaddr=40378000 size=03ffch ( 16380) load
I (150) esp_image: segment 4: paddr=00030020 vaddr=42000020 size=873d4h (553940) map
I (291) esp_image: segment 5: paddr=000b73fc vaddr=4037bffc size=04a60h ( 19040) load
I (301) boot: Loaded app from partition at offset 0x10000
I (301) boot: Disabling RNG early entropy source...
INFO - esp-wifi configuration EspWifiConfig { rx_queue_size: 5, tx_queue_size: 3, static_rx_buf_num: 10, dynamic_rx_buf_num: 32, static_tx_buf_num: 0, dynamic_
tx_buf_num: 32, ampdu_rx_enable: true, ampdu_tx_enable: true, amsdu_tx_enable: false, rx_ba_win: 6, max_burst_size: 1, country_code: "CN", country_code_operati
ng_class: 0, mtu: 1492, tick_rate_hz: 100, listen_interval: 3, beacon_timeout: 6, ap_beacon_timeout: 300, failure_retry_cnt: 1, scan_method: �ESP-ROM:esp32s3-2
0210327
Build:Mar 27 2021
rst:0xf (BROWNOUT_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)

...

To Reproduce

  1. cargo xtask run-example examples esp32s3 wifi_dhcp
  2. ...

Expected behavior

Environment

  • Target device: esp32-s3-devkitc-1
Crystal frequency: 40 MHz
Flash size:        16MB
Features:          WiFi, BLE
MAC address:       64:e8:33:54:3c:e4
  • Crate name and version: tried all the way up from 0.20.0 to current master
@kaspar030 kaspar030 added bug Something isn't working status:needs-attention This should be prioritized labels Feb 5, 2025
@github-project-automation github-project-automation bot moved this to Todo in esp-rs Feb 5, 2025
@bugadani
Copy link
Contributor

bugadani commented Feb 5, 2025

Brownout reset means something's up with your devkits' power supply.

@kaspar030
Copy link
Contributor Author

Brownout reset means something's up with your devkits' power supply.

I fell for the USB hub not keeping up. Powering that properly fixes this. (All the other devkits worked flawlessly, so I didn't think about that.) Sorry for the noise and many thanks for taking a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:needs-attention This should be prioritized
Projects
Archived in project
Development

No branches or pull requests

2 participants