Yea, the problem was an external osc.
I succeded to use a 8Mhz (also need to define that in the code), but for some reson 20Mhz doesn't work.

Thank,
Menta