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

Can't open database: Unable to open the database file Error 14 #21

Open
gnithyalakshmi opened this issue May 27, 2022 · 3 comments
Open

Comments

@gnithyalakshmi
Copy link

I have used your library and able to compile successfully in Sketch.

On uploading to NODE MCU, only the sample with flash memory works. But for the SD card option, it throws error as 'cant open database...unable to open database file.

Any help would be appreciated.

I am using Node MCU ESP826 and my SD card is FAT32

@siara-cc
Copy link
Owner

Usually it would be an issue with connection to SD Card. Please see if the SD samples work before trying this lib. Also please see the README for specific version of SD Fat library to be used.

@gnithyalakshmi
Copy link
Author

gnithyalakshmi commented May 28, 2022 via email

@siara-cc
Copy link
Owner

The calls to SDFat are in sdfat_fns.cpp, but I am not sure if it is needed to specify a clock speed. If you see the picture in readme.md, I used a readymade shield for SD SPI connection and I did not have to modify the clock speed. Perhaps you could see if there is some loose connection or if a resistor/capacitor needs to be added to support higher speeds.

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