I have designed a board based on an ATmega2560 chip and I burned the bootloader by following this tutorial.
Now I am able to load Blinky and other programs using an FTDI cable. But the issue I am facing right now is the controller runs Blinky fine if I leave the FTDI connected there. If I disconnect the FTDI cable and power-cycle the board it is not running Blinky. If I connect the FTDI, right away it starts blinking.
It looks like something is wrong with my RESET pin connection? Here is what my RESET circuitry looks like:
- I also have tried by removing D1 diode but no luck !
2 Answers 2
The issue was there was some noise on RX Pin of the chip and because of that when it is powered on in bootloader it was stuck at that place. And it was working good with FTDI because RX gets proper connection with my FTDI.
Solution:- Connect 10K pull-down on RX pin resolved this problem.
Or get rid of C6, I have never used that in a design.
-
1C6 was not a problem. I have posted the exact solution I found in this case.HallMark– HallMark2018年02月09日 04:02:35 +00:00Commented Feb 9, 2018 at 4:02
Looks like something wrong with my RESET pin connection
... how do you know. please post your schematic