Skip to main content
kashif
Associate II
July 14, 2010
Question

STM32F10x_Lib\examples\FSMC\SRAM and SRAM_DataMemory

  • July 14, 2010
  • 2 replies
  • 686 views
Posted on July 14, 2010 at 11:30

STM32F10x_Lib\examples\FSMC\SRAM and SRAM_DataMemory

    This topic has been closed for replies.

    2 replies

    kashif
    kashifAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:58

    hi zawada.kris,

    i have used FSMC successfully to interface some other ICs but the problem with external RAM is still there. first, the example i mentioned ''

    examples\FSMC\

    SRAM_DataMemory

    '' is not working. i get values

     TabAddr = 0xFFFFFFFF

    MSPValue = 0xFFFFFFF8

    (i have used template project with all necessary steps mentioned in readme.txt)

    where as the example ''

    examples\FSMC\

    SRAM

    '' works fine and LED1 gets ON which means Read/Write to External RAM went OK.

    Q1) what is wrong with the 

    SRAM_DataMemory example?

    Q2) what is the 

    difference between these two examples in terms of FSMC initialization for interfacing external RAM.

    Q3) what is the difference between ''use Default startup = yes'' and ''Default startup = no''

    and similarly what is the difference between Default script file and stm32f10x_flash_extsram.ld 

    (please help me in understanding these two files ''startup file and script file'' so that i can use them in my projects effectively)

    (i am done with rest of the peripherals by using default startup file and script file in project settings and done rest of the settings in main code) 

    hope to hear from you soon. regards

    kzawada
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:58

    Were you able to resolve this issue?