How can I resolve the SD card initialization error?
Hey guys, I'm still having issues trying to log temperature data from the MCP9808 sensor to an SD card using an ATmega2560 and Zephyr OS, how can I resolve the SD card initialization error? Despite setting up the SD card interface and implementing file write operations, I still encountered the error "Failed to mount SD card." Here's the code:
If the implementation is successful, the output should log the temperature data to the SD card and display a confirmation message.
Solution:Jump to solution
Yeah, @RED HAT I had to verify my file system configuration in Zephyr after which I ensured to recheck the file system permissions...and a little run arounds😂 . thanks anyways
2 Replies
@Dtynin Hey! It looks like your SD card might not be properly initialized. Make sure the card is formatted correctly and that the file system is supported by Zephyr. Also, check the hardware connections to ensure they are secure.
Solution
Yeah, @RED HAT I had to verify my file system configuration in Zephyr after which I ensured to recheck the file system permissions...and a little run arounds😂 . thanks anyways