Programming 3v3 atmega328p on gertboard
hi,
i'm trying program atmega328p on gertboard connected raspberry pi via arduino since spi interface in use. have uno board arduinioisp installed output pins level shifted 3v3. have included new definition in boards.txt
gert328.name=gertboard atmega328 (w/ arduino isp)
gert328.upload.using=arduino:arduinoisp
gert328.upload.protocol=arduino
gert328.upload.maximum_size=32768
gert328.upload.speed=115200
gert328.upload.disable_flushing=true
gert328.bootloader.low_fuses=0xe7
gert328.bootloader.high_fuses=0xda
gert328.bootloader.extended_fuses=0x05
gert328.bootloader.path=optiboot
gert328.bootloader.file=optiboot_atmega328.hex
gert328.bootloader.unlock_bits=0x3f
gert328.bootloader.lock_bits=0x0f
gert328.build.mcu=atmega328p
gert328.build.f_cpu=12000000l
gert328.build.core=arduino
gert328.build.variant=standard
the programmer set arduino isp on ide on laptop connected uno via usb , try an" upload using programmer"
ans following output when trying upload blink:
binary sketch size: 1,104 bytes (of 32,768 byte maximum)
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc2
i'm not sure doing wrong , grateful pointers.
cheers
martyn
i'm trying program atmega328p on gertboard connected raspberry pi via arduino since spi interface in use. have uno board arduinioisp installed output pins level shifted 3v3. have included new definition in boards.txt
gert328.name=gertboard atmega328 (w/ arduino isp)
gert328.upload.using=arduino:arduinoisp
gert328.upload.protocol=arduino
gert328.upload.maximum_size=32768
gert328.upload.speed=115200
gert328.upload.disable_flushing=true
gert328.bootloader.low_fuses=0xe7
gert328.bootloader.high_fuses=0xda
gert328.bootloader.extended_fuses=0x05
gert328.bootloader.path=optiboot
gert328.bootloader.file=optiboot_atmega328.hex
gert328.bootloader.unlock_bits=0x3f
gert328.bootloader.lock_bits=0x0f
gert328.build.mcu=atmega328p
gert328.build.f_cpu=12000000l
gert328.build.core=arduino
gert328.build.variant=standard
the programmer set arduino isp on ide on laptop connected uno via usb , try an" upload using programmer"
ans following output when trying upload blink:
binary sketch size: 1,104 bytes (of 32,768 byte maximum)
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc2
i'm not sure doing wrong , grateful pointers.
cheers
martyn
here boards.text rc atmega328 @ 8mhz
project: http://www.hackster.io/rayburne/flat-duino
ray
code: [select]
##############################################################
atmega328bb.name=atmega328 on breadboard (8 mhz internal clock)
atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
#atmega328bb.upload.speed=57600
atmega328bb.upload.speed=19200
atmega328bb.bootloader.low_fuses=0xe2
atmega328bb.bootloader.high_fuses=0xda
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=atmegaboot_168_atmega328_pro_8mhz.hex
atmega328bb.bootloader.unlock_bits=0x3f
atmega328bb.bootloader.lock_bits=0x0f
atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000l
atmega328bb.build.core=arduino:arduino
##############################################################
project: http://www.hackster.io/rayburne/flat-duino
ray
Arduino Forum > Using Arduino > Microcontrollers > Programming 3v3 atmega328p on gertboard
arduino
Comments
Post a Comment