cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N657 TouchGFX RAM/ROM Overflow.

siddum
Associate

Dear ST Community Team,

We are currently working on a project using the STM32N657X0H3Q1 microcontroller and developing the GUI application with TouchGFX.

While configuring and generating the TouchGFX project, we are encountering RAM and ROM overflow errors during compilation/linking. The internal SRAM and Flash available on the STM32N657 device are not sufficient to accommodate the TouchGFX framework, graphics assets, and application code.

As an alternative solution, our hardware design includes the following external memories:

  • External RAM: S80KS5123GABHB020

  • External Flash (Octal SPI NOR): S28HS512TGABHM0100

We would like guidance from the community on the following points:

  1. How to properly configure external RAM in STM32CubeMX / TouchGFX so that:

    • Framebuffers

    • TouchGFX heap

    • Graphics buffers are placed in external RAM instead of internal SRAM.

  2. How to configure external Flash to store:

    • TouchGFX assets (images, fonts, videos)

    • Read-only GUI resource to reduce internal Flash (ROM) usage.

  3. Any recommended linker script modifications or memory mapping examples specific to STM32N657 for placing code/data in external memories.

  4. If there are any ST reference projects, application notes, or example repositories for STM32N6 series demonstrating TouchGFX with external RAM and external Octal SPI Flash.

We would appreciate any guidance, example configurations, or best practices to resolve the RAM and ROM overflow issues using external memory.

Thank you for your support.

Best regards,

Siddu Marka.

0 REPLIES 0