tjko / fanpico

Fanpico: Open Source Smart PWM (PC) Fan Controller
GNU General Public License v3.0
115 stars 10 forks source link

"Corrupted dir pair at {0x0, 0x1}" with version 1.61 #80

Closed shawnshekari closed 5 months ago

shawnshekari commented 5 months ago

Thanks for such an awesome product. I bought my kit (0804D) back at the end of Jan and just got it soldered up today.

Of course, I went right for the latest firmware and ran into an issue. The previous couple version (1.60 & 1.50) didn't have any issues.

But I noticed another serial message that made me think that perhaps the older version had corrected the directory issue and sure enough now the 1.61 version also runs without an error. The two messages in Putty below. The first was by flashing 1.61 (and I did that a couple times with the same results.) And the second was when I tried 1.5. After that the three versions I have tried all worked.

image

I haven't tried any fan control yet but so far I am so impressed with the project. 20240302_191258

tjko commented 5 months ago

Interesting, so did I understand correctly that this happened when installing v1.6.1 firmware on a "blank" Pico? And after 'downgrading' to earlier firmware that seemed to fix the issue?

Probably something to do with v1.6.1 using newer version of LittleFS library... I'll see if I can replicate the issue you saw...

tjko commented 5 months ago

Thanks for pointing this out. It was indeed a bug that was introduced when switching to use latest LittleFS version in fanpico.

Fix is now checked in 65f9d447e4fc8ecb60d4e0e5a42c76343d032586

tjko commented 5 months ago

New firmware release v1.6.2 now contains this fix: https://github.com/tjko/fanpico/releases/tag/v1.6.2