Hi,
I just updated Keil software pack and installed new component "ARM_Compiler". With this update I am not able to access FileSystem anymore.
Each time I call "fmount" function, return code is 9 (fsMediaError).
I selected Filesystem in "Compiler:IO" I didn t change anything else in my code.
I use filesystem with USB and MCI in the same time, both fail.
My board is based on a LPC4337 processor and I am sure the design is correct (if I switch to Keil Midlleware 6.2 and remove ARM_compiler, everything works fine).
Filesystem example doesn t work either.
Did I miss something with this update ?
Since we would like to replicate the problem here also, is it possible to give us a bit more details about your hardware.
What SD memory card did you use?
I had the problem with an ATP USH-I microSDCard 8GB class 10 (Compliant with SD Specification version 3.01)
But you were right, I just tried with a more common microSDCard (Kingston 4GB class 4) and I did not had the problem with this one. High speed works.
thank you.
We do not have exactly the same SD card in Munich. However we believe that the problem might relate to the signals on your hardware.
Do you have a MCB4300 Evaluation Board? If so, maybe you can test the card on that board.
Here is the explanation:
I use TVS protection for SDCard, The TVS equivalent capacitance combined with lines serial resistors form an equivalent low pass filter which causes some signal integration. This signal integration is too excessive at 50 MHz for my ATP card. If I remove TVS, everything works.
Unfortunately I can't remove them neither decrease resistors value. So I will keep with driver file modification in order to not use high speed.
For USB file System, I had to increase OS Core Thread Stack Size (from 512 to 768). Now everything works as expected.
Thank you both for helping me solving my case !