This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil Midlleware 6.3 (ARM Compiler) and File System

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 ?

Parents
  • 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 !

Reply
  • 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 !

Children
No data