Basic question

If you can load Blink, the uploading process is fine.

It's more likely you have a bug, or a software/hardware issue.

It may help to blink an LED in your bigger code, too, as a heartbeat indicator. And it's probably time for some Serial.println() debugging.

-br