Skip to main content
Associate
November 30, 2025
Question

STM32N6 Venc_server example with internal ram only

  • November 30, 2025
  • 3 replies
  • 189 views

Hi,

I am running the latest version of the VENC_SERVER application and am interested in the mode that uses no external memory. There is a define for 720p 30fps using internal memory only, but trying to compile it in debug mode results in a compile error with .bss data not fitting in memory.

Could anyone advise on how to change the example or linker script to get the internal memory only version working?

Thanks 

3 replies

ST Technical Moderator
December 1, 2025

Hello @Leggs 

I compiled the example VENC_RTSP_Server with CubeIDE. There is no compilation error for the debug mode.

What is the CubeIDE version you are using? 

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. Saket_Om
LeggsAuthor
Associate
December 1, 2025

Hi,

I downloaded all the tools yesterday, so it should be the very latest. Using STMCube for N6 V1.3. The default configuration works fine.

My issue is specifically with selecting the FULL_720P_SLICE_INTER_RAM_ONLY mode in venc_h264_config.c

This attempts to place large video buffers in internal ram, but fails due to ram limits defined in the included linker STM32N657XX_LRUN.ld

Thanks

ST Technical Moderator
December 2, 2025

Hello @Leggs 

Thank you for bringing this issue to our attention.

I reported this internally.

Internal ticket number: 222918 (This is an internal tracking number and is not accessible or usable by customers).

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