I solved the problem updating the arduino software.I had ad old version of the software with the wrong drivers.