Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Access to EEPROM not working on Mega 2560 on: November 29, 2010, 10:57:32 pm
Thank you "Coding Badly".

EEPROM access on the Mega 2560 works if I replace the file eeprom.h in the hardware/tools/avr/avr/include/avr directory as you describe at http://www.cbxdragbike.com/arduino/new/

 smiley
2  Forum 2005-2010 (read only) / Troubleshooting / Access to EEPROM not working on Mega 2560 on: November 17, 2010, 11:21:08 pm
There appears to be a problem with access to EEPROM on the Mega 2560.  The following simple program, compiled using Arduino 21 produces an "Error Compiling" message when attempting to upload the compiled program to the Mega 2560.


#include <EEPROM.h>

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


void loop(void)
{
  byte temp;
  
  Serial.println("writing to EEPROM[0]");
  EEPROM.write(0,1);
  Serial.println("reading from EEPROM[0]");
  temp=EEPROM.read(0);  
  delay(500);
 
}
3  Forum 2005-2010 (read only) / Troubleshooting / Can't upload to Mega 2560 under Windows 2000 on: November 29, 2010, 11:08:30 pm
I have installed the Arduino IDE 0021 on 2 Win2000 systems and on 2 WinXP systems.  I am able to compile and upload on the WinXP systems, but the Win2000 systems hang during upload.

I am wondering if this is an issue related to the ATMega 8U2 used for USB-to-serial communication and the Arduino_Mega_2560.inf driver provided for it.  The ATMega 8U2 is also used on the UNO board, so UNO users might have seen the same thing.

Anyone else seen this, or have a solution?
Pages: [1]