Issue with For Loop

Hi, I'm having an issue with my For Loop.

You see, I'm using it to declare values in two separate arrays with 512 elements in them. So, my goal is to declare the arrays, and then in the setup() initialize them. My final goal with this project is more complex, but in the interest of debugging, my code currently wants to initialize each element numerically: element 0 equals 1, element 1 equals 2, and so on.

So, what I'm having an issue with is that when I try to use two For Loops in my setup(), my Serial Monitor doesn't return a value. However, when I use my setup() to just initialize one array instead of two, my Serial Monitor will return the value like I'm expecting.

Am I missing something about the syntax, here?

int univ1chan[511];
int univ1patch[511];

void declareChannels() {
// Initialize and Declare Channel Numbers
for (int c = 0; c < 512; c++) {
univ1chan

 = c + 1;

Serial.println(c + 1);
 }  
 Serial.println("Channels Initialized!");
}

void declareAddresses() {
 // Initialize and Declare Address Numbers - Default is 1-to-1
 for (int d = 0; d < 512; d++) {
   univ1patch[d] = d + 1;
   Serial.println(d + 1);
 }
 Serial.println("Addresses Initialized!");
}

void [color=#CC6600]setup/color {
 Serial.[color=#CC6600]begin/color;
 Serial.println("Hello World!");
 declareChannels();
 declareAddresses();
}

void [color=#CC6600]loop/color {
}
[/quote]

two separate arrays with 512 elements in them.

so. "511 elements"

Yes, right. 511. Sorry about that.

Either way, unless you're on a Mega, that's more RAM than you have available.

Oh, I see. Thank you so much!