Skip to main content
Vitaliy Kostyrev
Associate
May 26, 2018
Question

Executing the program in SDRAM

  • May 26, 2018
  • 1 reply
  • 1150 views
Posted on May 26, 2018 at 11:57

Hello! I'm using stm32f746igt. You can run the program in sdram on this controller and use Chrome Art to display the image on the display.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    May 27, 2018
    Posted on May 27, 2018 at 13:18

    Is there a question?

    Yes, you should be able to use the SDRAM for code, not sure how fast/efficient that will be, the cache will likely mask some of that.

    The bigger problem is getting the code loaded into SDRAM, you can direct the linker build code there, but you need startup code that will initialize the clocks, pins, peripheral and memory before you can copy code/data there and transfer control to it.

    You could for example build a simple loader that pulls the code out of QSPI and places it in SDRAM

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Vitaliy Kostyrev
    Associate
    May 27, 2018
    Posted on May 27, 2018 at 15:22

    Yes! execution of the program in sdram together with ltdc and chrome art! run blink in sdram no problem! I want execute emwin!

    Technical Moderator
    May 28, 2018
    Posted on May 28, 2018 at 15:49

    Hello

    vitalik180887

    ,

    Please provide more details about your use case.

    Why do you want to execute from SDRAM ? Is it because of size of his application ?

    To know thatthe QSPI can hold big applications in size and execution from QSPI is fast, thanks to CPU cache in STM32F7.

    With Regards,

    Imen

    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. Thanks