cancel
Showing results for 
Search instead for 
Did you mean: 

exit in touch debug

GauravK
Senior

Hi, a project runs in below trace in debug. I use external V2 ISOL debugger.

GauravK_0-1727246456290.png

But program seems to run when I download. Pl let me know if more inputs needed.

8 REPLIES 8
Andrew Neil
Evangelist III

So you've hit an assert.

Trace back through that call stack to see what's causing the assert...

GauravK
Senior

Pl can I know why code doesn't halt when I flash in Run?

It there in Debug only


@GauravK wrote:

Pl can I know why code doesn't halt when I flash in Run?

It there in Debug only


Do you use the 'Release' build for 'Run' ?

Presumably, the 'Release' build does not enable asserts

GauravK
Senior

Thanks for responding but Build is at debug

GauravK_0-1727275227017.png

 



Do you use the 'Release' build for 'Run' ?

Presumably, the 'Release' build does not enable asserts


Is this the setting or anything else? can you guide

Hello @GauravK,

Could you please check what is the assert that causes the issue? 
Which board or MCU are you developing on? Are you using any of the TouchGFX Board Setups? Do you use STM32CubeIDE for downloading your application to your board? 

 

Mohammad MORADI
ST Software Developer | TouchGFX

Hi, thanks for replying.

This issue I face intermittent. Like with same code it gets the error as mentioned at times, other time runs ok. Ideally if erorr is there always it should get stuck always, but observation is strange.

Currently Im not seeing that. Wanted to know why it occurring so posted that time.

Hello @GauravK,

It is very hard to pinpoint where the problem originates from, but since the issue seems to be from the initialization functions, there might be some OS misconfigurations that is causing trouble.
Please check the settings of the OS, and it would help a lot if you mention the MCU or development kit that you are working on. 

Mohammad MORADI
ST Software Developer | TouchGFX