cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 Venc_server example with internal ram only

Leggs
Associate

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 3
Saket_Om
ST Employee

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? 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om

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

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om