Anyone can enlighten me on how the burning of bootloader is done in the Arduino-0010 IDE? I couldn’t find a batchfile of config file with information about that.
I am currently using uisp to burn hex files, but that doesn’t seem to work correctly. I don’t get errors after flash, but for example the bootloader or a blinking led firmware doesn’t work.
When the bootloader is burnt from within the IDE, it does work…
I think if you set upload.verbose to true in your preferences file, you'll be able to see the command lines used (along with lots of other information).
Unfortunately, it looks like there is nothing shown when setting upload.verbose to true. I am expecting this to see in the bottom part of the IDE or in the DOS box that opens when you start run.bat
The first line unlocks the processors, sets the fuses (which control things like clock type, brown out detection, etc). The second line burns the bootloader code itself, and relocks the bootloader segment. You should be able to use the same command lines with a different .hex file, yes.