help Reading/Writing from/to EPROMs

EDIT: problem solved, i should stop being so damn lazy.

also how do i delete threads, this has served it's purpose

1Proxy0:
lastly, am i even allowed to just ask for programs like this? since i don't really have time or knowledge to do it myself.
I'm also not sure if this is the correct part of the forum to ask this... oh well, any help is appreciated.

Technically you are not.
I would help if I could but I am just as new to EEPROM as you, but you might get some helpful advice here.
If you want someone to write a code for you, go to AUG. Arduino User Group. Thay will help, but you will have to pay for it.
My advice learn about it on example sketches.

1Proxy0:
I’m also not sure if this is the correct part of the forum to ask this… oh well, any help is appreciated.

post your paying gig in https://forum.arduino.cc/index.php?board=26.0

.

or use something like https://www.amazon.com/SMAKN®-EEPROM-Programmer-Reader-24C1024/dp/B017I7RK3C if it will work for your EPROM

then i guess i will have to learn how to write it myself, as paying money for a single program seems silly.

time to do a deep search of StackOverflow.

thanks anyways, have a nice day.

ok so maybe instead someone could help me debug my code?

for some reason i don’t get any output on the Serial Monitor,

void setup() {
  DDRA = 0xFF;
  DDRC = 0xFF;
  DDRL = 0x00;
  Serial.begin(19200);
  pinMode(2, INPUT);

}

void loop() {
  FAIL:
  if (digitalRead(2) == LOW){
    goto FAIL;
    }
  for (word i=0;i<0xFFFF;i++){
  PORTA = lowByte(i);
  PORTC = highByte(i);
  delay(10);
  Serial.println(PORTL, HEX);
  delay(140);
  if (i == 0xFFFF){
    i = 0x0000;
    }
  }
exit(0);
}

and honestly, after reading about PORTs it was embarrassingly easy to write.

the pins on the Breadboard are all connected to the right Port (acording to the Mega2560 pinout)

still i get nothing on the Serial monitor, and then there is also the problem of HEX Values not having leading zeros.