aduino ide can load firmware, but avrdude cannot

I can answer one thing the baudrate to use. That is determined and hard coded by the bootloader on the board and for a Arduino mega/2560 (from the boards.txt file) it is:

mega2560.upload.speed=115200

Lefty