Hello,
I did do quite a bit of searches before decided to post my problem. I tried in many different ways, but ultimately couldn't get custom Atmega board to program with serial programmer.
my board has 8MHz external crystal, and operates on 3.3V.
here is the schematic
here is the sequence of events:
First I programmed one Arduino Uno board with ArduinoISP example.
and I installed micro-core in board manager.
Second I connected my new board via the ICSP pins to the programmed as ISP Uno board.
then I switch the programmer mode to "Arduino as ISP"
then I made the following selections:
next I selected "burn bootloader"
the bootloader was updated succesfuly
Next I loaded "blink without delay.ino" and uploaded it by selecting sketch-> "upload via programer" (Arduino as ISP). that also worked fine and the LED that I attached on pin 13 start blinking.
So far so good - I can program the board via ICSP (SPI).
Next I tried to connect serial TTL programer to the TX and RX on my new board. I'm not new at this and I'm sure Iconnected them right, but JIC I also reversed them. I also connected the Reset to RTS on the serial programmer. then tried to flash by selecting "AVRISP MkII". It did not work. I can see the Tx LED on the programer flashing from time to time and trying to initialize communication, but my new board dot appears to communicate.
Then I tried using the UNO board as serial programmer. Same result. Again, the AVR DUDE SW retries 10 times to establish communication and then quits.
So mu question is why? Did I miss something? is there some fuse that needs to be burned somehow to enable me to program the ATMEGA 328P_AU chip via UART?
Thank you in advance for your help!
Cheers