Skip to content

ESP32S2: UF2 RunMode is not working #3813

Closed

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.

Activity

  1. added this to the Long term milestone on Dec 9, 2020
  2. changed the title [-]Irregularity between Circuitpython & IDF[/-] [+]ESP32S2: UF2 RunMode is not working[/+] on Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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