Problem with running STemWin on STM32F103ZET from external SRAM

  • Hi everyone
    I'm using STM32F103ZET to run STemWin532 GUI. In the first step i configured everything for running from internal RAM and program worked fine and GUI displayed components like progress bar and ...., but when i changed linker command file to map GUI memory to external SRAM GUI did not work. I checked connection with SRAM and it was OK. I checked 8,16,32 bit memory accessing integrity by following code:

    We can write to External SRAM and read it back successfully.

    I attached the STM32CubeIDE Build Analyzer Tool output for memory usage.

    In this case (External SRAM) program runs GUI_Init() function successfully and memory allocation and LCD initialization are done, (The LCD is turn to black after GUI_Init() Execution just like when i use the internal RAM as GUI memory) but nothing else happens. Program then execute the following codes in the while(1) loop and screen remains black.

    I placed break point inside the while(1) to making sure that program is running.(Second attached file)

    Thanks
    Haia.B

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!