Skip to content
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

LittleFS format() hangs with flash size > 2MB #76

Closed
blurfl opened this issue Apr 3, 2021 · 5 comments
Closed

LittleFS format() hangs with flash size > 2MB #76

blurfl opened this issue Apr 3, 2021 · 5 comments

Comments

@blurfl
Copy link
Contributor

blurfl commented Apr 3, 2021

Trying out LittleFS/SpeedTest on a Feather, the program never returns from format(). Changing the board type to "Generic RP2040 Flash Size 2MB with Boot Stage 2: W25X10CL QSPI /4" works as expected, but upping to Flash Size 4MB fails.

@earlephilhower
Copy link
Owner

Unfortunately I don't have anything but the Rpi Pico 2MB to test on. FWIW the LittleFS library runs on the ESP8266 just fine w/a 3MB FS on a 4MB flash chip, so I don't think it's something there.

The fussy flash on the Feather might have some special needs for programming, not just booting...

Do you have a Picoprobe to run GDB on your board with? Even just connecting and getting a stack dump would help pinpoint what's going on./

@earlephilhower
Copy link
Owner

Can you test the EEPROM examples with the normal 8MB settings? They also access the flash using the same method as the FS. If they pass but the FS fails it might be something other than flash...

@blurfl
Copy link
Contributor Author

blurfl commented Apr 3, 2021

The eeprom_write example fails (hangs) for any of the 4MB or 8MB flash settings. Sorry, no Picoprobe here yet.

@earlephilhower
Copy link
Owner

The SDK was refusing to write past what it thought end of flash was. Latest release should sort it.

@blurfl
Copy link
Contributor Author

blurfl commented Apr 3, 2021

The latest release does take care of it.👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants