Closed mcuOne closed 5 years ago
How about compiling the project? https://github.com/abcminiuser/lufa/tree/master/Projects/AVRISP-MKII
I am not sure if its possible to fit into the small flash/ram of the 16u2.
I do not think the RAM is too small. KosakaLab did manage it: https://make.kosakalab.com/make/electronic-work/avrisp-mk2/uno-r3_avrisp-mk2_en/ At first I thought KasakaLab uses Lufa Lib, but it uses TPI programming probably his own method. Or am I wrong?
It should work fine on the tiny 8KB parts, but you'll have to disable ISP programming and enable TPI programming only. In the Config/AppConfig.h
header of the project comment out ENABLE_ISP_PROTOCOL
and leave ENABLE_XPROG_PROTOCOL
enabled.
Hello my friend. How can I fully use the mkii protocol on the atmega16u2? So also the TPI protocol. For testing purposes, I use an Arduino UNO.