Sorry I posted also on Melabs forum, hopeing to quicker reads comments:

I started to have unexpected behaviours in my program with a PIC18F67K22 (128k).
After some days of debugging I finally...