Trel725 / chavrprog

AVR programmer based on Chinese ch341a
GNU General Public License v3.0
58 stars 19 forks source link

Would chavrprog work with Arduino Leonardo bootloader ? #17

Closed mycodedoesnotcompile2 closed 8 months ago

mycodedoesnotcompile2 commented 9 months ago

Hello @Trel725,

As your chavrprog looks very interesting, I was wondering if you think that programming the official Arduino Leonardo bootloader with your tool (hence, with a 341a, that I don't have yet) would work ?

Here is the official bootloader for Leonardo:

If I take inspiration from this, would this work? $ sudo ./chavrprog -d mega32u4 -a s Caterina-Leonardo.hex

Or do I need an actual ISP programmer (USBtinyISP etc.) to achieve bootloader programming to a Leonardo ? Best regards.

Trel725 commented 8 months ago

Hi, sure, that's exactly the purpose of the project. I will close the issue, feel free to reopen if you have more questions.