I am able to run my homemade Arduino if sketch is uploaded on my UNO,hovewer I am not able to upload any sketch to this chip using FTDI Breakout.
Is there any difference if I use FTDI Breakout instead to FTDI cable?
Is there any tutorial available?
The odds are stacked against you trying to use a 12 Mhz resonator. The serial communication driven by the bootloader is dependant on the clock frequency of the 328. To get it to work at 12 Mhz, you'd need to reprogram the bootloader. The chip will happily run at 12 Mhz, but you can't expect timing critical operations like serial to work without recoding the bootloader.
Thinking out loud,
you might do some serial communication if you configure different port speeds (PC/arduino) that have the ratio 12: 16 = 3:4
See the table below, two of them could be working as the ratio 3:4 give stanbdard speeds.
(however uploading sketches is done at 57600 so therefor it might not work ...)
3/4 baud 4/3
----------------------------------
225 300 400
900 1200 1600
1800 2400 3200
3600 4800 6400
7200 9600 12800
10800 14400 19200 -- these could be working!!
14400 19200 25600
21600 28800 38400 -- this could be working too
28800 38400 51200
43200 57600 76800
86400 115200 153600
pluggy:
The odds are stacked against you trying to use a 12 Mhz resonator. The serial communication driven by the bootloader is dependant on the clock frequency of the 328. To get it to work at 12 Mhz, you'd need to reprogram the bootloader. The chip will happily run at 12 Mhz, but you can't expect timing critical operations like serial to work without recoding the bootloader.
Thanks for this idea-I replaced resonator with 16MHz and it works fine.