Hello all,
I had been programming my Mega 2650 from a Windows XP VM due to issues with the IDE/programmer from my native Red Hat Enterprise Linux 6.2 installation. The compilation/upload process began to get slow within the VM, so I decided to try from Linux again.
I got farther this time. Everything seems to complete fine, and works fine, with the exception of when I try to do anything serially.
If I even just have "Serial.begin(9600);" in my sketch, the LED on pin 13 will blink with some regular cycle (sort of like a heart beat: lub dub, lub dub, lub dub, etc...) and the rest of my code will be ignored -- i.e. if I try and manually set pin 13 LOW, it still blinks like I've described if I try and open the serial port.
Same thing happens if I use Serial1 instead of the 0th port. If I program the Mega via USB, disconnect, and power from an external non-USB source, the same thing happens.
What is going on differently when I program from Linux??
Here is a verbose compilation and upload from Linux. The only code in the sketch was:
void setup() {
Serial.begin(9600);
}
void loop() {}
Thanks,
-jorwex
Any ideas?