charlesbaynham / OSFS

Overly Simplified File System for Arduino EEPROM
GNU General Public License v3.0
33 stars 9 forks source link

Not working with Blue Pill | stm32duino #10

Closed jarusRnD closed 3 years ago

jarusRnD commented 4 years ago

First i uploaded > writeTest example Serial output below given Overly Simplified File System (OSFS) : write-test Formatting device... Storing an integer... Storing a string Storing a complex data type Done

then uploaded > readTest example Serial output below given

Overly Simplified File System (OSFS) : read-test Looking for testInt... Error: 5 Looking for testStr... Error: 5 Looking for complex data type... Error: 5 Done

charlesbaynham commented 4 years ago

Hi @jarus0, thanks for the bug report.

The error codes are defined here:

https://github.com/charlesbaynham/OSFS/blob/8dc2795e46d5c18e16416c8aaa862801b42c445b/src/OSFS.h#L67-L77

So error 5 means "UNFORMATTED".

It sounds like the write test is failing to write to EEPROM. I've never used the Blue Pill, but this page implies that it doesn't have any EEPROM:

image

If that's true than that'd be the problem I'm afraid.

charlesbaynham commented 3 years ago

I'm going to close this issue now, but do reopen it if I've got it wrong