Hi everyone
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:
opened 06:30PM - 15 Nov 12 UTC
closed 11:57AM - 11 Mar 13 UTC
Component: Firmware
Component: Bootloader
This is [Issue 392](http://code.google.com/p/arduino/issues/detail?id=392) moved… from a Google Code project.
Added by 2010-11-06T18:01:11.000Z by [dmel...@gmail.com](http://code.google.com/u/107726014984682000895/).
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium, Component-stk500v2, OpSys-All
### Original description
**What steps will reproduce the problem?**
1. Try to upload a sketch to a Mega 2560 that contains "!!!".
**What is the expected output? What do you see instead?**
The upload fails.
See: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1288392931 for a report of this.
You will need to upload a new bootloader to your 2560 to fix the problem.