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
  • Hi,

    usually when fmount() returns fsMediaError, media initialization procedure fails.

    In Middleware 6.3 support for CMD6 was added, which switches SD clock up to 50MHz. Did you also update LPC4300 device family pack? In LPC4300 DFP 2.3.0, High Speed bus mode is enabled in capabilities. Is it possible that the SD clock frequency is to high?

Reply
  • Hi,

    usually when fmount() returns fsMediaError, media initialization procedure fails.

    In Middleware 6.3 support for CMD6 was added, which switches SD clock up to 50MHz. Did you also update LPC4300 device family pack? In LPC4300 DFP 2.3.0, High Speed bus mode is enabled in capabilities. Is it possible that the SD clock frequency is to high?

Children