Hi All,
Odd one this, or perhaps not ?
I have blank ATMega328's and they are in a circuit with a 32mHz clock
I want to program the fuses so that F_CPU=32000000 etc etc
But, I dont really want the bootloader on there as I am programming via USBISP
Do I just leave out the section in boards.txt that reads ??
whatever.bootloader.path=atmega
whatever.bootloader.file=ATmegaBOOT_blah_blah.hex
Or is there something easier ?
Incidentally, the 328 (which is actually a 328P_AU in my pcb) programs just fine via ISP @ 32mHz, which I was wondering if that would actually work or not.. BUT I had to slow down the AVRDude default_bitrate to get it to program (which I have noticed is a batch/source thing of the same micro type)
Anyway, any help would be paid for in figgy puddin left-overs !!

When the sketch is uploaded to the I/O board via ICSP then the bootloader, if there had been one, gets wiped out.
Re-installing the bootloader is a different process.
thanks, I realise that...
All I want to do is upload code to my 32mHz 328 board via USBISP
I just need the right info in my boards.txt to cover the fuses and remove the bootloader reference
So when I burnbootloader, all that will happen is the micro gets set up with fuses etc, but for 32mHz
OK
When I got my USBtinyISP, to do 328s, I had to add the following to boards.txt:
usbtiny328.name=[usbtinyisp]ATmega328
usbtiny328.upload.using=usbtinyisp
usbtiny328.upload.maximum_size=32768
usbtiny328.build.mcu=atmega328p
usbtiny328.build.f_cpu=16000000L
usbtiny328.build.core=arduino
to get it to work.
I also found that the signature in the avrdude.conf has to be set right, vis-a-vis 328P and 328.