cancel
Showing results for 
Search instead for 
Did you mean: 

RTT Output Broken After Adding Large Static Variable

WhoIsJohnGalt
Associate III

Hi,

when I increase the size of the ThreadX trace buffer above 30k the RTT output is not working anymore (Below 30k RTT works fine).

 

static uint8_t trace_buffer[1024*64] __attribute__((section(".trace")));

 

WhoIsJohnGalt_0-1738270216551.png

My guess is that the RTT viewer can't find the RTT control block anymore. I can't explain myself why this is the case.
When checking the map file I find the control block near the end of SRAM1, which should not be a problem I think?

WhoIsJohnGalt_2-1738271509426.png

WhoIsJohnGalt_1-1738270436861.png

Anyone some idea, how to fix the RTT output? Any help is appreciated :)
Thank you

Regards

John

 

 

 

0 REPLIES 0