Skip to content

ESP32-S3 requests download causes watchdog hard reset #8857

Open
@artBoffin

Description

@artBoffin

CircuitPython version

Adafruit CircuitPython 8.2.9 on 2023-12-06; ESP32-S3-DevKitC-1-N8 with ESP32S3

Code/REPL

def wget(url, local_filename, chunk_size=1024):
    try:
        with requests.get(url, stream=True) as response:
            with open(local_filename, 'wb') as f:
                for chunk in response.iter_content(chunk_size=chunk_size):
                    f.write(chunk)
                    print(".", end="")
    except Exception as e:
        print(f"! error {str(e)}")
    print("\n> wget done")

Behavior

You are in safe mode because: Internal watchdog timer expired.

Description

Downloads for a while, resets, gives me the watchdog error.
So, seems to partly work, then hard-crash.
Sometimes, it will fully erase itself to the "Hello World" state

Additional information

Installed using these instructions:
https://wiki.seeedstudio.com/XIAO_ESP32S3_CircuitPython/

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions