Guys never mind found the solution!!! I had to define the debug port to serial1 and now everything seems to work perfect!!!
Thanks once more