Finally I find where was the problem

The time was too slow beacause of the 5v power.It was the PICKIT2 which power my pcb (it has this function)...and when I use psu 5vdc all was ok.

Does enyone has any idea why this happend???


By the way thanks to all.
Nikos