I am a MCC18 v3.02 user and I use Salvo Library version.
The project use slc18sft.lib.
Everything goes well but today after adding some function the program crashes for WDT.
After debug I can tell that during a call to
OS_WaitMsg some bits of the INTCON register are setted (but isr do not manage it!) so program loop forever in isr.
Stepping in code after OS_WaitMsg I see that INTCON is saved and restored several times using FSR1 but the last time restore before return from OSSched the FSR1 point do a different position (-1). I can tell that RAM used is where the stack is placed by the linker in my prj (0x400). It is possible this is a linker/complier problem but having access only to assembly it is difficult to say. Actually I made a workaround clearing bits in INTCON during ISR but I cannot release this fw if the problem is really solved.
Thank you
Marco