Go Down

Topic: programming without bootloader (Read 1 time) previous topic - next topic

mrjonny2

Sorry I thought my last post stalled a little.

My code seems to only work if it is uploaded onto optiboot. Not directly. What should the fuses be for an ATMega2560V running at 8Mhz on 3.3V?

Nick Gammon

I suggest you look here:

http://www.engbedded.com/fusecalc

The BOOTRST fuse is the one that controls where programs start executing (bootloader or address 0).

mrjonny2

I am unsure of the current settings used and the ones that I would need. I am very new to this so any help would be appreciated. Thanks

PaulS

Quote
I am very new to this so

jumping in the deep end is not advised.

Nick Gammon

I have a sketch here:

http://www.gammon.com.au/forum/?id=11638

That uploads from one Arduino to another without using the bootloader. It sets the fuse appropriately. You need an SD card (and board) however.


Go Up