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
  • Hi Per
    Thank you for the info.

    Your suggestion about the memory controller makes sense to me but I don't know how I can check that. Could you please explain that in more detail?
    I have seen that in system_stm32f2xx.c FSMC_Setup() gets called.
    But at I don't know at which point the ZI-Variables get initialized.

    Thank you.

Reply
  • Hi Per
    Thank you for the info.

    Your suggestion about the memory controller makes sense to me but I don't know how I can check that. Could you please explain that in more detail?
    I have seen that in system_stm32f2xx.c FSMC_Setup() gets called.
    But at I don't know at which point the ZI-Variables get initialized.

    Thank you.

Children