Encountered a bug in Arduino IDE 1.0.2

Hi everyone :slight_smile:
i just came across a bug in Arduino IDE 1.0.2.
The bug was when you try to upload any code having the following line

Serial.print("ACCESS DENIED !!!");

or

Serial.println("ACCESS DENIED !!!");

the code compiles successful, but while uploading the process starts and later it hangs in between.

whereas the following code works fine
Serial.print("ACCESS DENIED !!");
and

Serial.println("ACCESS DENIED !!");

can anyone give it a try and let us know whether you encountered the same problem

sample code

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  Serial.println("ACCESS DENIED !!!");
  delay(1000);
}

This has been discussed many many many times. There is a glitch in the Arduino Mega 1280 bootloader wherby if three ! are recieved in a row, the bootloader enters a funny mode and doesn't complete the upload.

Simple work around is to just not use "!!!" anywhere.

thanks tom for your valuable input. but mine was arduino mega2560 rev3.. i guess both share the same bootloader.

This issue has been fixed, see here:

You will need to upload a new bootloader to your 2560 to fix the problem.