It runs properly when using INTRC, but with external oscillator it doesn't...
Although i set necessary configuration (ECH, Clock out pin ...) but still not working.
Well, show us the necessary configuration then and tell us what type of external oscialltor you're actually using and how it's connected. Without that we can only guess.

/Henrik.