Possible SW Stack Corruption
Posted: Fri Mar 22, 2013 3:03 am
I've had a few of these warnings rush past without me noticing them till recently. Specifically I am getting:
Now I thought I was being pretty careful not to put any macros in my interrupt routine but it is pretty hard to avoid using Flowcode's own macros. There is a genuine likelihood of one of these chaps colliding, though I am not sure whether it has happened or not (Ben, could this be the source of some of my RS232 and Flowkit weirdness?). This just seems odd to me though. Is the compiler worrying unnecessarily about built-in macros? If this is really a concern then the only solution I can think of is to go back to polling the RS232 instead of calling it by interrupt, which is of course, the preferred way to handle serial comms.Serious Warning: Possible sw stack corruption, function 'FCI_GETLENGTH' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Serious Warning: Possible sw stack corruption, function 'FCI_MIDSTRING' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Serious Warning: Possible sw stack corruption, function 'FCI_NUMBER_TO_HEX' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Serious Warning: Possible sw stack corruption, function 'FCI_SHEAD' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Serious Warning: Possible sw stack corruption, function 'FCI_SCOPY' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Serious Warning: Possible sw stack corruption, function 'delay_us' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)