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

File not mounted #29

Open
marcelwinter04 opened this issue Feb 20, 2019 · 1 comment
Open

File not mounted #29

marcelwinter04 opened this issue Feb 20, 2019 · 1 comment

Comments

@marcelwinter04
Copy link

marcelwinter04 commented Feb 20, 2019

Hello,

I´m having the issue that the bootloader cannot mount the sd card.

fresult = pf_mount(&Fatfs); /* Initialize file system */ if (fresult != FR_OK) { /* File System could not be mounted */
fresult is FR_NOT_READY

Here are my def;
MCU_TARGET = atmega1284p BOOT_ADR = 0x1F000 F_CPU = 14745600 SD_CS_PORT = PORTB SD_CS_DDR = DDRB SD_CS_BIT = 1

is there anything else i have to check oder edit? Does anyone else have the same error?
With the arduino cardinfo example program everything works fine, here is also the infos that the cardinfo program outputs

Initializing SD card...Wiring is correct and a card is present.

Card type: SD2
Clusters: 61268
Blocks x Cluster: 64
Total Blocks: 3921152

Volume type is: FAT16
Volume size (Kb): 1960576
Volume size (Mb): 1914
Volume size (Gb): 1.87

Files found on the card (name, date and size in bytes):
SYSTEM1/ 2019-02-08 09:41:40
INDEXE
1 2019-02-08 09:41:40 76
WPSETT~1.DAT 2019-02-08 09:41:42 12
FIRMWARE.BIN 2019-02-18 13:54:38 61112`

@lasithf
Copy link

lasithf commented Apr 16, 2019

I'm having the same issue FR_NOT_READY. Does anyone have a clue?

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