[solved] Problem burning bootloader to Leonardo (TeeOnArdu)

Hi to everyone, I'm trying to use Leonardo as a MIDI device, using this: GitHub - spark404/TeeOnArdu at arduino-1.6.7
but i'm getting an error when I try to burn the bootloader to the Leonardo using Arduino UNO as ISP.

But when I select "burn Bootloeader" I get this:

Arduino: 1.6.7 (Windows 7), TD: 1.28, Board: "TeeOnArdu, Serial, US English"

at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:314)
at processing.app.Editor.lambda$handleBurnBootloader$42(Editor.java:2780)
at java.lang.Thread.run(Thread.java:745)
Error while burning bootloader.

It's weird because a time ago I did this with no problem...

Any help?

Thank you very much

I finally got it.

  • Use IDE 1.6.7
  • Upload ISP Sketch to Arduino UNO
  • On the sketch uncomment line: #define USE_OLD_STYLE_WIRING

Download TeeOnArdu-arduino-1.6.7 and copy files to your folder, with this structure:


Remember to add the avr folder

Burn Bootloader

That should be all.