Skip to main content
matt-crc
Senior III
Question

CubeMX FileX Maximum SRAM Disk Size

Hello,

Why is there a limitation to the maximum Disk space in FileX?  256K is too small.  I would like to allocate 64Mbytes.

mattcrc_0-1740030478318.png

    This topic has been closed for replies.

    6 replies

    ST Technical Moderator

    Hello @matt-crc 

    This is a hardware limitation. Please check the datasheet of your device. 

    Saket_Om_0-1740049104126.png

     

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
    matt-crc
    matt-crcAuthor
    Senior III

    Hi @Saket_Om 

    I did and the memory is available.  I highlighted the available memory on the datasheet

    mattcrc_0-1740053118943.png

     

    ST Technical Moderator

    Hello @matt-crc 

    This is not an embedded SRAM. It concerns the FMC (Flexible external memory controller) peripheral which can control an external SRAM.

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
    matt-crc
    matt-crcAuthor
    Senior III

    hi @Saket_Om 

    ok, but i find it very strange that FileX can be configured to use the FMC with the external Flash (Nor/Nand) without that limitation, but it can't use the very same FMC for a RAM disk... 

    Tesla DeLorean
    Guru

    Yes, doesn't make sense to me either, should be able to use the SDRAM, and however large that is, less the offset into it.

    Perhaps SRAM DISK is too specific, and there should be an SDRAM-DISK, or a more generalized RAM-DISK

    @STTwo-32 please flag this for consideration/review for parts supporting external memory and/or SDRAM enabled, and an "Address" field in the user interface.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    ST Technical Moderator

    Hello @Tesla DeLorean 

    I reported your request internally. 

    Internal ticket number: 203748 (This is an internal tracking number and is not accessible or usable by customers).

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om