Thank you for your reply, I will try it.
But the mystery is that RA0,RA1,RA2 working.
I will try it with simpler code.