Hi,
I'm trying to build my first arduino from components on a breadboard (First time building arduino on a breadboard, figured I'd start easy by using a 4809 : ).
I have the ATMEGA4809 chip on my breadboard via a tqfp adapter and attached all necessary basic elements such as 16mhz clock and capacitors, power etc.
I have an uno R3 board hooked up via mosi/miso/sclk/d10 to mosi/miso/sclk/reset and uploaded the ISP sketch to the uno.
I've downloaded the 'megaAVR boards' into the board manager and have selected the arduino uno wifi as my board with the 'Registers emulation:' option set to 'None (ATMEGA4809)'
I have my uno connected via usb and 4809 breadboard connected via dupont wires as mentioned above
I have selected 'arduino as ISP' in 'Programmer:' option
However when I click burn bootloader it comes up with:
Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino Uno WiFi Rev2, None (ATMEGA4809)"
Please select a programmer from Tools->Programmer menu
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
before I downloaded the 'megaAVR boards' I was getting 'invalid device signature' error (ie. further than I am now that I have the correct board definition... )
any help greatly appreciated
Sam
EDIT:
Ive tried a few times using 'arduino Uno' as my board (ie. that of the ISP not the target) and I've got error device signature invalid 0xFFFFFF, but also have got the following:
Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\CeX\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino14/bin/avrdude -CC:\Users\CeX\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf -v -patmega328p -carduino -PCOM8 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\CeX\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf"
Using Port : COM8
Using Programmer : arduino
Overriding Baud Rate : 19200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Error while burning bootloader.
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x00007f
avrdude: Expected signature for ATmega328P is 1E 95 0F
Double check chip, or use -F to override this check.
avrdude done. Thank you.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
and also received device signatures of ff0000, 0000ff as well, not sure if its relevant or not...