Skip to content

ESP32-C3 Preferences: nvs_get_blob len fail: schedule NOT_FOUND #6572

Closed
@Sys64736

Description

@Sys64736

Board

ESP32-C3 Devkitc

Device Description

Nothing attached

Hardware Configuration

Nothing attached

Version

latest master

IDE Name

PIO

Operating System

Win10

Flash frequency

80

PSRAM enabled

no

Upload speed

115200

Description

Preferences e.g. code giving error in latest release. Works in 2.0.2

I also can't format or mount SPIFFS on a C3 but I believe that is fixed in PR #6569 ?
Returning err -1

Sketch

https://github.com/espressif/arduino-esp32/blob/master/libraries/Preferences/examples/Prefs2Struct/Prefs2Struct.ino

Debug Message

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xf (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x38c
load:0x403ce000,len:0x6a8
load:0x403d0000,len:0x2358
SHA-256 comparison failed:
Calculated: 4ab8657f6f5aa80b81c7dd649db3bd64a98999ed7c65acc5a2ab77ce80caf525
Expected: 6babbc7b9ea63e04e0fc89ec224f6268aa3f84392018f73ab33721f768ce2eb6
Attempting to boot anyway...
entry 0x403ce000
[   106][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: schedule NOT_FOUND
[   106][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: schedule NOT_FOUND
09:30 235/255
[   122][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: schedule NOT_FOUND
[   123][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: schedule NOT_FOUND

Other Steps to Reproduce

Just running example code

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions