4 ms·
Oh, there's an OTP in the MPU? I didn't know that. Yes with 1) I'm not sure either but there's some sporadic discussion in the Github issues with various attem
by skl_ 8y ago
Oh, there's an OTP in the MPU? I didn't know that.
Yes with 1) I'm not sure either but there's some sporadic discussion in the Github issues with various attempts. From what I remember certain scenarios currently cause all blocks to be re-scanned which will obviously get slower with capacity.
With regards 2), I was under the impression each block is allocated according to the wear-levelling algo[0] so I don't think they're contiguous if that's what you mean. Also block size is configurable.
I tried implementing LittleFS on a 32MB SFDP flash with Mbed but couldn't get any decent performance out of it. It kept spewing out "bad block" errors an re-allocating everything. I hope it's a more viable option in future though as I do like the design.
[0] https://github.com/ARMmbed/littlefs/blob/master/DESIGN.md https://github.com/ARMmbed/littlefs/blob/master/DESIGN.md