Hi, I had a stab at doing a custom board in boards.txt.
Although My board has an external crystal I decided to try (for now) 8MHz internal clock. I used ADABoot (I think it uses internal clock 8MHz - but this could be wrong)
I have set the fuses for 8MHz internal clock using AVRstudio 4. I then tried this board in boards .txt
I put the ADABoot_328 HEX file in the file path: /atmega328.bootloader.path=atmega. I used a low baud rate for safety (9600). Set Baud for cable at 9600 also.
##############################################################
atmega328x.name=Arduino Xino w/ATmega328-PU 8MHz internal clock
atmega328x.upload.protocol=stk500
atmega328x.upload.maximum_size=30720
atmega328x.upload.speed=9600
atmega328x.bootloader.low_fuses=0xFF
atmega328x.bootloader.high_fuses=0xDA
atmega328x.bootloader.extended_fuses=0x05
atmega328x.bootloader.path=atmega
atmega328x.bootloader.file=ADABoot_328
atmega328x.bootloader.unlock_bits=0x3F
atmega328x.bootloader.lock_bits=0x0F
atmega328x.build.mcu=atmega328p
atmega328x.build.f_cpu=8000000L
atmega328x.build.core=arduino
##############################################################
It still doesn't work with cable. Still getting sync error in IDE.
"avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51"
Am I on the right track?
Thanks