So I played around with this and the good news is it works.
The github page says usbasp programmers won't work loading the bootloader on to arduino mega, which is right if you are using arduino to burn the bootloader.
I used the avrdude command line and it burned the bootloader just fine.
You need to copy the file ariadne_atmega2560.hex to the same location as avrdude.exe and run the 3 commands shown below. The second command will take about 3 minutes to complete. There will be a progress bar.
you can buy usbasp programmer on ebay for about $2.50 only. Make sure to get the one with the 6 pin ICSP cable.
Code:
avrdude -c usbasp -p m2560 -P usb -b 115200 -e -u -U lock:w:0x3F:m -U efuse:w:0xFD:m -U hfuse:w:0xD8:m -U efuse:w:0xFF:m
avrdude -c usbasp -p m2560 -P usb -b 115200 -V -U flash:w:ariadne_atmega2560.hex
avrdude -c usbasp -p m2560 -P usb -b 115200 -U lock:w:0x0F:m
you will know the bootloader is on your arduino mega if the led blinks fast with the ethernet shield attached.
you will then need to run their utility program to change the ip address, gateway, etc info that is stored in the eeprom. Since they are using eeprom at address 0 to store this informaiton, I will need to move where I store chauvet config variable values a little further up.
before you can upload, you need to compile your arduino program to generate the .hex file, then use avr-objcopy.exe command to convert it to bin. Then upload using tftp command
Code:
tftp -i ipaddress <ip> put Chauvet16.cpp.bin
This option to upload a new program to arduino mega via tftp is not required but good to know it can be done if needed. The nice thing with this bootloader is upload via usb cable still works.
I will move the config variable storage location in case anyone tries to use this feature. I will also add the http command to reset remotely.
I will burn this bootloader to my arduino mega when I open up my controller case to add the transistor circuit for the fans.
</ip>