Reading from SD Card fails 50% of the time


#1

Hey, I could not find any related thread.

With a patch that loads multiple audio-files, an error is thrown sometimes about being unable to load a file.
When I disconnect the power and try again, it will sometimes work again, sometimes not.
Inserting the card to my PC, all is fine, except running fsck will detect that the "dirty" bit of the file system is set.

At first I thought it is due to my code but I cannot see anything wrong with it. I think I have this issue with both of my Axolotis. Is anybody else experiencing this?

Example error:

file error: FR_DISK_ERR, filename:"/sfx/sfx-045.raw"

fsck:

0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action

I think I will try re-formatting it from within the patcher app now.

It's a common 16GB Transcend card


#2

That was what I was going to suggest :slight_smile:

Keep in mind SD-Cards has different performance. The first 2 I had was not good for Axo. Third one I got was good.

There is a thread in the forum about sd-card and benchmark test. You could try doing the same test and compare it to the tests in the benchmark thread and see what you have.

Use the wave/sdbenchmark object for the test.


#3

Unfortunately re-formatting did not make a difference.
Do you happen to know what brand/model the one is that worked well for you?
Thanks for the hint, I will do the benchmark now.
I was thinking maybe it's the pins on the card reader.
The benchmark does not report anything suspicious, it seems al-right.

Adding the thread linke here


#4

I still did not get to the bottom of this, still getting random FR_DISK_ERR results and the sdcard stops working until I fix that dirty bit on the PC.
It must be a physical/hardware issue. Am I really the only one experiencing this?


#5

have you tried another sdcard? i suspect yours is somehow broken.


#6

I think you might be right. Did some more testing, with two different cards and two Axolotis.
I did see the issue with the second card first, but after re-formatting it did not happen for a long time so I am a little more optimistic now. The working card is also from Transcend but it's a 32GB one.

When comparing the benchmark tests of the two cards, the problematic one has read BW 1900 kB/s whereas the more stable one has read BW 2361 kB/s. Does low-speed cause read-fails?
I was sceptical before, since it's just about about loading just a few megabytes.


#7

I received new cards that I ordered for testing, the brand is "goodram".
They make a big difference, so far they were 100% reliable, I made several tests where I re-loaded 6MB worth of samples 30 times and there were no FR_DISK_ERR errors at all.
It is a relief to know that the Axoloti is not at fault.


#8

Happy to hear that :slight_smile:

Those Sd-cards makes a big difference :wink:

Seems like I missed your post, asking for reference for SD-card. Im sorry bout that. But seems like you are up and running now :slight_smile: