maxruben
Have you tried with different compiler versions?
/Ruben
Just did this weekend. I updated to the latest XC version. However, Just found out that the same problem occurs.
RISC
Hi,
As you have a real-Ice I suggest you set a data breakpoint on a write of a specific value in RAM.
Maybe you can try to set a breakpoint when the word 0xFA52 gets written into the memory 28D6.
If I assume that this value is only (incorrectly written) when the faulty condition happens, the program will stop and show you which assembly instruction generated the issue ant therefore through the disassembly listing you can see the C source code line.
Regards
Good one!! I will try that tomorrow.