I have an arduino uno and I know that it can be used as an ISP programmer. I want to write my program in Atmel studio and upload the code to another AVR microcontroller where my arduino uno will act as an ISP programmer. How to do it?
Maybe: https://www.arduino.cc/en/Tutorial/ArduinoISP
If you want to know more about the command line: http://www.hackster.io/rayburne/avr-firmware-duplicator
I use a prototype shield with a ZIF for DIP chips:328P-PU and tiny85
Ray

key word "atmel studio". i gave up on that bloated monstrosity some years back but the simulator and debug features might be useful for some. i know there is a way to create a hex file which can then be flashed with avrdude using a script. whether it can be done using a.s. internals idk. with every new version things like this became more and more difficult.
john1993:
key word "atmel studio".
Oh, I saw that. But the Op did not say he wanted the process fully automated... just that he wanted to upload via a UNO that was acting as an ISP. At the command line, we really do not care how the HEX was generated, only that the Intel Hex format is generated for the atmega328P and that the is no offset for the bootloader, since one will not be used.
It may be that Studio will just respect the UNO/ISP device.... this article seems to suggest that it can.
Ray
very good link ray (i think we can assume just about everybody wants "fully automated"). thanks. this will come in handy should the need for simulation or in depth avr debugging arise. so there does seem to be "redeeming social value" to the newer atmel studio.
many complain about the lack of those features in arduino ide but imo its a good thing. tough enough getting through all this stuff w/o more complications and 99.9% of the time print or blink is adequate anyway.
john1993:
<...>
(i think we can assume just about everybody wants "fully automated").
I'm the exception. I will loose sleep if I do not understand how to manually do at the console what the build process does in the background. Now, I certainly will not do the by-hand stuff all the time, maybe just once to document or to write shell scripts for different processes.
Ray
so we agree everybody eventually wants "fully automated". some like you and i like to take things a step further and, in the interest of science, try it The Hard Way.
john1993:
so we agree everybody eventually wants "fully automated".
<...>
I believe "easy" is a key to Arduino's success and one-click compile & upload (fully automated) is about as easy as it gets.
Ray