Fuse settings:
LOCK = 2f
LFUSE = ff
HFUSE = d6
EFUSE = fd
If you’re using AVR Studio to flash MCU, here’s how it looks in the dialog:
Note that if you decide to flash boot loader manually using AVR Studio, you’ll have to:
- flash muboot.hex
- uncheck “[X] Erase device before flash programming”
- flash midialf.hex
Alternatively you can use console version of AVR ISP programmer:
stk500 -cUSB -dATmega644pa -I125Khz -e -fD6FF -FD6FF -EFD -GFD
stk500 -cUSB -dATmega644pa -I4Mhz -ifmuboot.hex -pf -vf
stk500 -cUSB -dATmega644pa -I4Mhz -ifmidialf.hex -pf -vf
stk500 -cUSB -dATmega644pa -I4Mhz -iemidialf_eprom.hex -pe -ve
Firmware flashing instructions for OS X
Here is what you have to do:
- Download and install Crosspack
- Copy the .hex files from github into a folder on your desktop (or anywhere where you find them later).
- Turn your MidiALF on.
- Connect your AVRISPmkII to your USB port and stick the ribbon cable to your 2×3 pin AVR ISP header. Red lane left. The AVRISP led should change from red to green now.
- Right-click one .hex file and open the infos for the file. There copy the path. E. g.: /Users/macbookpro/Desktop/Synths/MidiAlf/midialf_094
- Open programs-utilities: Terminal
- Change the path to the above folder. In this example: “cd /Users/macbookpro/Desktop/Synths/MidiAlf/midialf_094” – The terminal says “localhost:midialf_094 macbookpro$ “ then.
- Paste the following line at the prompt: “avrdude -B 100 -V -p m644p -c avrispmkII -P usb -e -u -U efuse:w:0xfd:m -U hfuse:w:0xd6:m -U lfuse:w:0xff:m -U lock:w:0x2f:m” and press enter – After avrdude said thank you…
- Paste the lines: “avrdude -B 1 -V -p m644p -c avrispmkII -P usb -U flash:w:midialf_094.hex:i -U flash:w:muboot.hex:i -U lock:w:0x2f:m”
(provided by loopino @ MI forums) — Thank you!
hello Peter ,
in order to use one new atmega 644p, I have to burn the bootloader.
Have I to use the muboot.hex or it’s possible to use another one (as sanguino boot for atmega 644p) ?
thank you
Please use the one included with MidiALF firmware, it’ the only boot loader that will accept MidiALF sysex.
thank you pete for your reply. I’ll do that and buy an AVRisp mk2 !
best regards
Fabien