How to Flash Arduino Program through "Micro sd card" without using Arduino IDE

avr_boot should work fine for the Nano:

The main problem for sailaja was that they are using an ATmega2560, which is not well supported by avr_boot (though people have provided solutions for that issue since the last time I posted here.