2

Is it possible to burn the hex file to a blank chip, generated by Arduino to burn using USBASP to that particular chip without using Arduino board ? Will the program work ?


My main goal is to use Atmega328P for low power. Should I select Arduino pro mini in the arduino IDE ?

Ater successful testing I will just burn the hex file to another 50 chips. thats why I dont want to use arduino board.

  • Can you please reword your question to be a little more clear? – Robert Stiffler Nov 7 '15 at 6:22
  • 1
    I wan to burn the hex file which is generated by arduino ide. But dont want to use arduino board. Instead I want to burn by USBASP like regular avr program hex file burning. – Maxmavin Nov 7 '15 at 6:46
  • Note that the Arduino IDE supports several programmers directly, including the USBasp. – Ignacio Vazquez-Abrams Nov 7 '15 at 6:49
2

Yes. The binary generated by the Arduino IDE in no way requires the presence of the Arduino bootloader in order to operate. Note that certain characteristics such as the MCU and clock rate are set at build time and cannot be changed in the final binary.

  • Do I have to do anything with fuse settings while burning ? – Maxmavin Nov 7 '15 at 6:44
  • The clock settings should match those expected by the code. The other fuses are up to whatever is required for the application. – Ignacio Vazquez-Abrams Nov 7 '15 at 6:45
2

Yes that's no problem as long as you check your fuse bytes. And the connections to the 6pin ISP header. Make sure you study the avrdude command line and the manual for the particular Atmel chip.

I'm assuming the programmer you are using must use avrdude to be able to work.

I often use a nice GUI called "avrdudess" which is freeware. Great for avr beginners, and takes some of the effort out of writing directly into the command prompt.

  • I will check avrdudess – Maxmavin Nov 7 '15 at 6:51
  • What will be the fuse settings if I use Arduino UNO as platform in IDE ? – Maxmavin Nov 17 '15 at 3:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.