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.

Anonymous Penguin
  • 6,285
  • 10
  • 32
  • 62
Maxmavin
  • 21
  • 2
  • Can you please reword your question to be a little more clear? –  Nov 07 '15 at 06: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 07 '15 at 06:46
  • Note that the Arduino IDE supports several programmers directly, including the USBasp. – Ignacio Vazquez-Abrams Nov 07 '15 at 06:49

2 Answers2

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.

Ignacio Vazquez-Abrams
  • 17,663
  • 1
  • 27
  • 32
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.

crowie
  • 299
  • 1
  • 5