Skip to content

Board going into Flash mode after CP crash/reset #9228

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

Closed
psitem opened this issue May 6, 2024 · 1 comment
Closed

Board going into Flash mode after CP crash/reset #9228

psitem opened this issue May 6, 2024 · 1 comment
Labels

Comments

@psitem
Copy link

psitem commented May 6, 2024

CircuitPython version

Adafruit CircuitPython 9.0.4 on 2024-04-16; Waveshare ESP32-S3-Zero with ESP32S3
Board ID:waveshare_esp32_s3_zero
UID:437BAD95C6CE

Code/REPL

N/A

Behavior

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037cd5e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x1734
load:0x403c9700,len:0x4
load:0x403c9704,len:0x1184
load:0x403cc700,len:0x3090
entry 0x403c9a80
I (31) boot: ESP-IDF v5.1.1 2nd stage bootloader
I (31) boot: compile time Mar 22 2024 16:38:50
I (31) boot: Multicore bootloader
I (34) boot: chip revision: v0.1
I (38) qio_mode: Enabling default flash chip QIO
I (44) boot.esp32s3: Boot SPI Speed : 80MHz
I (48) boot.esp32s3: SPI Mode       : QIO
I (53) boot.esp32s3: SPI Flash Size : 4MB
I (58) boot: Enabling RNG early entropy source...
I (63) boot: Partition Table:
I (67) boot: ## Label            Usage          Type ST Offset   Length
I (74) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (82) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (89) boot:  2 ota_0            OTA app          00 10 00010000 00160000
I (97) boot:  3 ota_1            OTA app          00 11 00170000 00160000
I (104) boot:  4 uf2              factory app      00 00 002d0000 00040000
I (112) boot:  5 ffat             Unknown data     01 81 00310000 000f0000
I (119) boot: End of partition table
I (123) boot: Reset Reason = 3
I (127) boot: Reset hint = 4
I (131) boot: Detect double reset using RC on GPIO 34 to enter UF2 bootloader
I (138) esp_image: segment 0: paddr=002d0020 vaddr=3c020020 size=09e08h ( 40456) map
I (153) esp_image: segment 1: paddr=002d9e30 vaddr=3fc90700 size=0222ch (  8748) load
I (157) esp_image: segment 2: paddr=002dc064 vaddr=40374000 size=03fb4h ( 16308) load
I (167) esp_image: segment 3: paddr=002e0020 vaddr=42000020 size=1740ch ( 95244) map
I (187) esp_image: segment 4: paddr=002f7434 vaddr=40377fb4 size=08650h ( 34384) load
I (199) boot: Loaded app from partition at offset 0x2d0000
I (199) boot: Disabling RNG early entropy source...
I (211) cpu_start: Multicore app
I (211) cpu_start: Pro cpu up.
I (211) cpu_start: Starting app cpu, entry point is 0x40374d1c
I (0) cpu_start: App cpu up.
I (229) cpu_start: Pro cpu start user code
I (229) cpu_start: cpu freq: 160000000 Hz
I (229) cpu_start: Application information:
I (232) cpu_start: Project name:     tinyuf2
I (237) cpu_start: App version:      0.18.2
I (242) cpu_start: Compile time:     Mar 22 2024 16:38:43
I (248) cpu_start: ELF file SHA256:  db9a8c83aae3e3c0...
I (254) cpu_start: ESP-IDF:          v5.1.1
I (259) cpu_start: Min chip rev:     v0.0
I (263) cpu_start: Max chip rev:     v0.99
I (268) cpu_start: Chip rev:         v0.1
I (273) heap_init: Initializing. RAM available for dynamic allocation:
I (280) heap_init: At 3FCA6360 len 000433B0 (268 KiB): DRAM
I (286) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (293) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (299) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (306) spi_flash: detected chip: generic
I (310) spi_flash: flash io: qio
I (314) sleep: Configure to isolate all GPIO pins in sleep state
I (321) sleep: Enable automatic switching of GPIO sleep configuration
I (328) app_start: Starting scheduler on CPU0
2mI (3 3)33p _atnrt: StaSting scoeduler [n CPU1
I (343) main_task: Calling app_main()
I (343) gpio: GPIO[21]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (353) gpio: GPIO[33]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (363) main_task: Returned from app_main()

Description

Under 9.0.3 this board was resetting into Safe Mode but after updating to 9.0.4 in #9173 it is coming up in Flash Mode.

Additional information

No response

@psitem psitem added the bug label May 6, 2024
@dhalbert
Copy link
Collaborator

dhalbert commented May 6, 2024

Could you copy this info back to #9173, since it's related? I would like to close this issue after that.

@psitem psitem closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants