Arduino MegaADK as Arduino programmer (ISP)
dear colleagues.
i using arduino megaadk program atmega328p on breadboard. these steps have done:
(1) loaded arduinoisp firmware on arduino adk
(2) connected arduino adk atmega 328p chip in breadboard. atmega 328p uses 16mhz crystal, 2 22 pf capacitors, 10 k resistor between reset pin , vcc (+5v).
the connections following, pin number arduino's standard:
// pin name: atmega328p atmega adk
// slave reset: reset 53
// mosi: 11: 51
// miso: 12: 50
// sck: 13: 52
(3) put 0.1 uf capacitor between reset pin , vcc (+5v) of atmega adk (my programmer).
(4) compiled blink program , try upload corresponding hex file atmega328p.
the problem can´t accomplish upload of program (hex file) , got error @ verification phase.
but, can sucessfull upload if "burn bootloader" before upload. it's important note using mega adk isp time , i'm not trying bootloading.
in uploading process, there different when "burn bootloader" upload in sequence?
thanks,
gil pinheiro.
i using arduino megaadk program atmega328p on breadboard. these steps have done:
(1) loaded arduinoisp firmware on arduino adk
(2) connected arduino adk atmega 328p chip in breadboard. atmega 328p uses 16mhz crystal, 2 22 pf capacitors, 10 k resistor between reset pin , vcc (+5v).
the connections following, pin number arduino's standard:
// pin name: atmega328p atmega adk
// slave reset: reset 53
// mosi: 11: 51
// miso: 12: 50
// sck: 13: 52
(3) put 0.1 uf capacitor between reset pin , vcc (+5v) of atmega adk (my programmer).
(4) compiled blink program , try upload corresponding hex file atmega328p.
the problem can´t accomplish upload of program (hex file) , got error @ verification phase.
but, can sucessfull upload if "burn bootloader" before upload. it's important note using mega adk isp time , i'm not trying bootloading.
in uploading process, there different when "burn bootloader" upload in sequence?
thanks,
gil pinheiro.
my guess, ide waiting bootloader response before uploading. after upload, bootloader erased (because uploading sketch erases bootloader when using isp) , thus, no more response bootloader , no more sketch uploading.
solution: use avrdude instead of arduino ide isp uploads.
solution: use avrdude instead of arduino ide isp uploads.
Arduino Forum > Using Arduino > Microcontrollers > Arduino MegaADK as Arduino programmer (ISP)
arduino
Comments
Post a Comment