I Have Atmega 1284P on a breadboard and can program it with Atmel studio 6 and AVR ISP MKII.
the problem is that i prefer to use arduino libraries, instead of directly working with registers & so on.
- can i program & compile it with arduino & then upload generated .HEX file using avr isp mkii & atmel studio?
i don't need bootloader at all, working with avr isp mkii and atmel studio is easy.
i read instructions here: http://arduino.cc/en/Hacking/Programmer, and using this method get the error : can not open usb - can i use header files and libraries of arduino right in atmel studio? if yes, how?
Thanks in advance.