OptiLoader
OptiLoader copied to clipboard
Arduino sketch for burning new bootloaders
I guess a much older version of this code was written for a PIC. https://github.com/WestfW/OptiLoader/blob/master/optiLoader.ino#L44
There's that bit in the SPI peripheral documentation: > If SS is configured as an input, it must be held high to ensure Master SPI operation. If the SS pin...
In newer versions of Arduino IDE (1.6.x and 1.8.3) optiLoader does not compile because the optiLoader.h file is included too many times. This was corrected by using pre-compiler IF statements.
I tried this on an ATmega328PB and it gives me the following error: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03 avrdude:...
A collaborator noted this change to the ATMEGA328 architecture... http://hackaday.com/2016/05/03/atmel-removes-full-swing-crystal-oscillator/ ...and was speculating if our recommended layouts at http://shrimping.it might fail with the new chips. We have been relying on...
Arduino 1.0 avr-gcc (Fedora 4.6.2-1.fc16) 4.6.2 Compiling causes a lot of problems about missing "const" words. Those are my changes that fix this. OPTILOADER.H 1) // Forward decl extern const...
OptiLoader now can work with ATmega168p
Setting a higher security in lock fuse bits doesn't allow to set a lower security value without a complete memory wipe (which resets them automatically), so setting programming fuses before...
Really awesome project! No longer using the ATMEGA8 and 168, so was hoping to repurpose the space used for those two, and instead add some of the other chips I...