This application already exists. It's called AVRDUDE
:
http://www.nongnu.org/avrdude/
You can download it compiled for Windows at the link above. This is the very flashing tool that the Arduino IDE uses for the AVR boards such as Nano. You can get the AVRDUDE command the Arduino IDE uses to upload to the Nano by following these steps:
- Start the Arduino IDE
- File > Preferences > Show verbose output during: > upload (check) > OK
- Tools > Arduino Nano
- Sketch > Upload
- After the process completes scroll the black console window at the bottom of the Arduino IDE window up to the start of the upload output and you will see the command generated by the Arduino IDE, which you can adapt to your needs.
If you want to use Makefiles you can get make
compiled for Windows from this package:
http://winavr.sourceforge.net/
Note that it's incorrect to call what you're trying to do an IDE. IDE stands for Integrated Development Environment, which this is certainly not.
.hex
file and enable flashing on customer side. IDE can be used but I wish to provide a minimal complexity for the unskilled user. – Ashish K Jun 3 '17 at 7:24