Hi All,
I've just got my board fabricated, excited as i was to see it i started to solder all the components using a ceramic hotplate and it turned out to be good. All well and looking good.
So once that was done i've installed the Atmega328 board from board manager by MiniCore and then uploaded the Boot loader on the new Atmega328 with that done who knew it would not take sketch's. I uploaded the first sketch and it seems this chip does not like to take any Sketch, error code as follows
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg WunschSystem wide configuration file is "C:\Users\georget\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\1.0.4/avrdude.conf"
Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 115200
AVR Part : ATmega328
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 0x00Programmer Type : Arduino
Description : Arduino
avrdude: stk500_recv(): programmer is not responding
Hardware Version: 3
Firmware Version: 0.2avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xfc
Vtarget : 420030.5 V
Varef : 0.3 V
Oscillator : 28.800 kHz
SCK period : 3.3 usavrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9514 (probably m328)
avrdude: reading input file "C:\Users\georget\AppData\Local\Temp\arduino_build_451336/SPWv3_MCU.ino.hex"
avrdude: writing flash (16680 bytes):Writing | avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
So what i had done so far ?
I've rechecked all the routes checked for continuity and all were well. checked the voltage at the Atmega328 and it was 4.9v. So what could it be, i checked continuity of the Tx and Rx routes and that turned out to be ok as well. I did not have a 22R resistor for the Tx and Rx so would be the problem ? Well i managed to upload the sketch once or twice and latter it stopped.
Then i replaced the Atmega with another one, hoping this would work but no no it would not either. I going nuts over this project and cannot move froward stuck with this sketch not uploading issue.
I had the similar issue where one pin would not go high when using the PINMode(Buttonpin, INPUT_PULLUP) so that was resolved once i had uploaded the boot loader again.
So what would be this issue ? Are these models of the Atmega328 not meant for use with Arduino ? or would it be a fuse setting that was incorparated by MiniCore ? i am sure i've not played around with them for sure.
Appreciate any help on this.