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

fmount fails when fs_config moved to ext. RAM

Dear Keil Support Team

I'm facing a problem with the File System Driver and SD Cards.
For memory optimizations I moved the FS_CONFIG.o (+ZI) section to the external RAM.
However, if I'm doing so a cannot write to the SD Card and sometimes even fmount() fails with an fsMediaError. NAND acces works fine.
If I move the FS_CONFIG.o (+ZI) back to the internal RAM everything works.

What is neccessary to do if I want to move this section?

Thak you in advance for your help.

Regards
Benjamin

Parents
  • I think you really just want to locate the Drive Cache to an external memory location.

    This can be done in the *FS_Config_MCx.h* file with the option
    Locate Drive Cache and Drive Buffer*. Just enter a fixed memory address and verify in the debugger that this memory is available for the system.

Reply
  • I think you really just want to locate the Drive Cache to an external memory location.

    This can be done in the *FS_Config_MCx.h* file with the option
    Locate Drive Cache and Drive Buffer*. Just enter a fixed memory address and verify in the debugger that this memory is available for the system.

Children