cancel
Showing results for 
Search instead for 
Did you mean: 

Segger RTT doesn't work when the touchgfx is initiated.

lhz412
Associate II

Hello,

I am using the touchgfx designer generated project as template to develop my project.  The DK I am using is the STM32U5G9J-DK1. 

I tried to bring up the Segger RTT viewer feature.  The RTT works well before the ToughGFX initialization.  If I comment out the ToughGFX initiation functions and its tasks [ MX_TouchGFX_Init() & MX_TouchGFX_PreOSInit() ], the RTT print can work in the FreeRTOS tasks.  But once I leave the TouchGFX initialization as it is, the RTT stops working after it. 

It seems the RTT and touchgfx have some conflict, but I cannot figure out the root cause. 

Thank you very much,

Thanks, 

 

7 REPLIES 7
Andrew Neil
Evangelist III
JTP1
Lead

Hello

Im not familiar with RTT but could it be conflict in CRC module. 

Here is some workaround suggestion in another context though:

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/what-are-the-crc-dependencies-that-touchgfx-expect/m-p/645625

Br JTP

Thank you, Andrew,  I will try to reach Segger, too. 

Thank you for the information.  I just tried your clue and verified that the CRC is not the root cause. But good to know the CRC in the touchgfx could cause some issue.  Thank you.     

Pavel A.
Evangelist III

It seems the RTT and touchgfx have some conflict

Over the RAM buffer allocated to the RTT?

Hello @lhz412 and @JTP1 ,

 

CRC is used by TouchGFX but only at startup so it should not be the root cause of the problem.

 

Regards,

Hello @lhz412 ,

 

Have you been able to solve your problem?
If so, I invite you to select the most helpful comment as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)