1) all prior version are the arduino IDE are still available
see [arduino.cc]
2) avrdude: stk500v2_ReceiveMessage(): timeout" is a communications error so the code compiled fine.
Two common causes, presuming there is a working boot loader on the chip.
1) you have left off the auto reset jumper, this needs to be on to allow the computer to reset the board to getting it into upload mode.
2) you are attempting to upload at the wrong baud rate, this is defined in your boards.txt file. and could be 38400 of 57600 depending on what boot loader they used.
3) you havent mentioned what version of arduino your using... or from where you got the gen7 or Sanguino file. some of these are know to be broken combinations
It looks like your gen 7 definitions are fine, and you should use those.
If your auto reset jumper is in place try the following.
Im going to presume you have [reprap.org]
in which case you should try editing the baud rate in the boards.txt file
find the line Gen7-1284P-16.upload.speed=115200 and try 57600 if that fails try 38400
After saving this change, restart the arduino IDE to re read the boards.txt file.
see [arduino.cc]
2) avrdude: stk500v2_ReceiveMessage(): timeout" is a communications error so the code compiled fine.
Two common causes, presuming there is a working boot loader on the chip.
1) you have left off the auto reset jumper, this needs to be on to allow the computer to reset the board to getting it into upload mode.
2) you are attempting to upload at the wrong baud rate, this is defined in your boards.txt file. and could be 38400 of 57600 depending on what boot loader they used.
3) you havent mentioned what version of arduino your using... or from where you got the gen7 or Sanguino file. some of these are know to be broken combinations
It looks like your gen 7 definitions are fine, and you should use those.
If your auto reset jumper is in place try the following.
Im going to presume you have [reprap.org]
in which case you should try editing the baud rate in the boards.txt file
find the line Gen7-1284P-16.upload.speed=115200 and try 57600 if that fails try 38400
After saving this change, restart the arduino IDE to re read the boards.txt file.