Hello everyone,
I have good news !
it's finally work fine let me explain my mistakes.
Changed :
CONFIG FOSC = HSHP ; HS oscillator (high power > 16 MHz) (need External Xtal)
for :
CONFIG FOSC = INTIO67 ; Internal oscillator block (Internal OSC)
and all the pin signals shows up on the scope.
I like to thanks everyone here for your excellent support, and also Charles Leo from MELabs.
Just one more question about the LAT and @ NOP instruction I'm not familiar with theses instructions where can I find
documentations, and does it work with all PIC or just for a family of PIC like this one PIC18F25K22.
Here's the scope results with 2 set of code.
![]()




Bookmarks