I tried to use an external 20 mhz xtal with the serout2 but nothing!
Then i used the debug command with the internal xtal and finally some message appears but wrong,probably it can't reach 31250 baud! how can i disable the internal and use the external xtal?