Skip to content

[Preferences.cpp:483] getString(): nvs_get_str len fail: auth_token NOT_FOUND #2

@tyoh-love

Description

@tyoh-love

Dear @akdeb

Thank you for your excellent project!.

When I flash the code with Mic/Speaker GPIO setting for my device, I faced below error :
[Preferences.cpp:483] getString(): nvs_get_str len fail: auth_token NOT_FOUND

can you guide me what went wrong on my side? I am using esp32s3 device from aliexpress.

=============================================================

Rebooting...
14:08:56.168 > ESP-ROM:esp32s3-20210327
14:08:56.168 > Build:Mar 27 2021
14:08:56.168 > rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
14:08:56.168 > Saved PC:0x420cd3f2
14:08:56.168 > #0 0x420cd3f2 in esp_pm_impl_waiti at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_pm/pm_impl.c:855
14:08:56.168 >
14:08:56.168 > SPIWP:0xee
14:08:56.168 > mode:DIO, clock div:1
14:08:56.168 > load:0x3fce3808,len:0x4bc
14:08:56.168 > load:0x403c9700,len:0xbd8
14:08:56.168 > load:0x403cc700,len:0x2a0c
14:08:56.168 > entry 0x403c98d0
14:08:56.322 > E (244) esp_core_dump_flash: No core dump partition found!
14:08:56.324 > E (244) esp_core_dump_flash: No core dump partition found!
14:08:56.330 > [ 251][V][esp32-hal-uart.c:330] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(44) txPin(43)
14:08:56.338 > [ 263][V][esp32-hal-uart.c:416] uartBegin(): UART0 not installed. Starting installation
14:08:56.347 > [ 272][V][esp32-hal-uart.c:467] uartBegin(): UART0 initialization done.
14:08:56.857 > [ 779][E][Preferences.cpp:483] getString(): nvs_get_str len fail: auth_token NOT_FOUND
14:08:56.863 > [ 787][V][Preferences.cpp:400] getUInt(): nvs_get_u32 fail: status NOT_FOUND
14:08:56.873 > ESP_OK no errors
14:08:56.873 > Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
14:08:56.928 >
14:08:56.928 > Core 1 register dump:
14:08:56.930 > PC : 0x4203185d PS : 0x00060633 A0 : 0x82031ba3 A1 : 0x3fcebc70
14:08:56.939 > A2 : 0x3c0ffac8 A3 : 0x3fc964b8 A4 : 0xffffffff A5 : 0x00000001
14:08:56.947 > A6 : 0x00060820 A7 : 0x00000001 A8 : 0x0000004b A9 : 0x00000080
14:08:56.952 > A10 : 0x00000001 A11 : 0x3fc9db5c A12 : 0x3fc9db60 A13 : 0x00060623
14:08:56.961 > A14 : 0x00060620 A15 : 0x00000001 SAR : 0x0000001f EXCCAUSE: 0x0000001c
14:08:56.969 > EXCVADDR: 0x0000004b LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffc
14:08:56.977 >
14:08:56.977 >
14:08:56.977 > Backtrace: 0x4203185a:0x3fcebc70 0x42031ba0:0x3fcebca0 0x4201b635:0x3fcebcd0 0x4200eb49:0x3fcebd10 0x420310e6:0x3fcebd40
14:08:57.077 > #0 0x4203185a in gpio_ll_pulldown_en at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/hal/esp32s3/include/hal/gpio_ll.h:76 (discriminator 2)
14:08:57.077 > (inlined by) gpio_pulldown_en at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/gpio.c:114 (discriminator 2)
14:08:57.077 > #1 0x42031ba0 in gpio_set_pull_mode at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/gpio.c:250
14:08:57.077 > #2 0x4201b635 in Button::Button(gpio_num_t, bool) at .pio/libdeps/esp32-s3-devkitc-1/ESP32_Button/src/Button.cpp:26
14:08:57.077 > #3 0x4200eb49 in setup() at src/main.cpp:192
14:08:57.077 > #4 0x420310e6 in loopTask(void*) at /Users/tyoh/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:42
14:08:57.077 >
14:08:57.077 >
14:08:57.077 >
14:08:57.077 >

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions