Skip to main content
lonnie
Associate III
November 19, 2008
Question

Programming External RAM

  • November 19, 2008
  • 4 replies
  • 894 views
Posted on November 19, 2008 at 07:26

Programming External RAM

    This topic has been closed for replies.

    4 replies

    jilisegiar
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:52

    Refer to the following example:

    FWLib\examples\FSMC\SRAM_DataMemory

    lonnie
    lonnieAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:52

    What are all the available options to program external RAM? IAR provides a flashloader to program external flash via the debugger. Is there anything similar for programming external RAM?

    I'm aware of the DFU tool, but are there any other options?

    thanks

    lonnie
    lonnieAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:52

    Thanks for the response jilisegiar.

    I did see the sram data memory example, which is demonstrates how to use external ram for program data memory and internal SRAM for Stack.

    I'm interested in having the ability to program external ram with a binary file. Similar in the way of how a flashloader is loaded in internal ram and fetches a binary file from the c-spy debugger, which it then programs external memory with.

    jilisegiar
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:52

    What you mean by ''to program external ram with a binary file''. if I understand well you need to load your code into external RAM. Is it OK?

    In this case you need to configure the FSMC before programming the external SRAM.

    For more details, refer to:

    http://www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=110#Application Note