I have bought Arduino Due , but I can not work with the Arduino IDE since its like very basic to me , i have been dealing with Atmel Studio since AVR studio 4 , so my question is , How can i use the Atmel Studio and just upload the generated hex file to the Arduino? .... even if without debugging . I have written a lot of libraries on AVR and Atmel Studio , and i can not just go with the Arduino IDE . (Any help would be appreciated).
One possible way is if you have a programmer, like an STK500. You can configure AS to use an external programmer and upload the generated .hex file to the Due. Keep in mind this will erase the bootloader from it, but if you're not planning on using the Arduino IDE anyway, it won't matter.
The Arduino IDE 1.5.x includes an application called BOSSA (you can download it separately here: BOSSA | shumatech.com) and uses it to upload the compiled binaries. I've used Makefiles to compile code for and Due and then used BOSSA from the command line to upload the final .bin/.hex to the board.
KirAsh4 first thx for ur reply ,..... I do not have any other programmer than can work with the Due , plus i do not think the due needs bootloader in the first place , since it has a programming chip (Atmega16L) .
drm0hr , thx for ur reply , but can u plz give me accurate steps ....... i read the link u posted and there is no mention for Arduino IDE (plz if i can make me avoid dealing with Arduino IDE completely , do not hesitste lol ) .... thx in advance.
It is all pretty self-explanatory. Download the BOSSA program from the link I provided. BOSSA has a GUI for windows that let's you select the serial port to use, the binary file to upload and a few other options that you don't need to mess with. Select whatever port your Arduino shows up as and then you just press the button that says "write".
thx again drm0hr , I think i can now do it .