Arduino due - Getting 0xFF (garbage) from serial I am developing application with serial communication with arduino due.

Like this:

while(1)
{
  if(Serial2.available() &gt; 0){
  byte l_byData = Serial2.read ();
  Serial.println(l_byData,HEX);
  }
}


But I am getting "0xFF" from serial very frequently.

I am using Arduino 1.6.6 IDE.

Can anyone help on this?
Check baud rate, voltage levels. Better check your signals with a oscilloscope or at least check it with a serial dongle like this https://www.sparkfun.com/products/11814