Hello. I have been programming ATMega328P's in my arduino UNO with the Atmel-ICE and Atmel Studio. but without using the bootloader and functions of arduino(programming the registers and using C language in Atmel Studio with the datasheet of the microcontroller). Now my Arduino is unconfigurated and i can not programmate it using "Arduino language"
What i was doing was connecting the Atmel-ICE in the ISP connector of the "front of the board"
I guess that what i need is to burn the bootloader in the main microcontroller(the atmega328p)
So. How may i do it? Can it be done from atmel studio? If it is not the solution wich is?