Page 1 of 1

Getting while compiling

Posted: Fri Nov 06, 2020 6:34 am
by JUZAR
Hi Sir,

I am getting below error while compiling. Seems it is related to quad seven segment LED display. Kindly assist how to solve this issue.

"Serious Warning: Possible sw stack corruption, function 'FCD_0fca1_led_7seg_quad1__ShowDigit' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)"

Re: Getting while compiling

Posted: Fri Nov 06, 2020 7:28 am
by mnf
Hi Juzar,

Can you post your code - sounds like you are calling a display routine from within an interrupt handler - which is a mistake.

Martin

Re: Getting while compiling

Posted: Fri Nov 06, 2020 11:52 am
by JUZAR
Hi Martin

Yes, you are correct, your hint did help me to eliminate the error. I was calling display routing within interrupt handler. After correcting the software there is no compiling error.

Thanks