Skip to content

ESP32S2: UF2 RunMode is not working #3813

Closed
@microdev1

Description

@microdev1

The following code when implemented in esp-idf works fine but doesn't in CPY.

Code Reference: TinyUF2 docs.

(void) esp_reset_reason();
esp_reset_reason_set_hint(0x11F2);

I am working on adding reset-to-uf2 bootloader from cpy.

  • esp_reset_reason_set_hint() sets RTC_RESET_CAUSE_REG which is used by TinyUF2 to determine if reset-to-uf2 was requested.
  • I can confirm that RTC_RESET_CAUSE_REG is successfully set and is persistent after esp_restart() is called.
  • The sdkconfig for both cpy and idf are similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugespressifapplies to multiple Espressif chips

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions