megaTinyCore's UPDI uploader is a lot slower than pyupdi #358
Replies: 1 comment
-
Okay - well, we considered using pyupdi, but we were warned that that would be the Wrong Way - two microchip engineers, and the author of pyupdi were unanimous in their opinion that it should be based on pymcuprog instead - the general impression they gave is that pyupdi was not production grade and was designed more as a demo than something that should be a real programming tool - while pymcuprog, since it gets official quality control from Microchip, was a far more robust solution. We all know how rigorous Microchip quality control is, right? Anyway, we weren't about to disregard their words, and did as they advised If you want to write up documentation on how to use it with the cli - awesome I would love to include it. However I do not have time to do that write up. My to-do list is a mile long, and I've got enough work for a month that needs to be done yesterday if not sooner. |
Beta Was this translation helpful? Give feedback.
-
I did some testing using arduino-cli (because I just can't even with that IDE - trying ways to use my own editor):
vs
I compiled like this:
Required a bit of guessing to get that
fqbn
string. Ended up fishing the board config options/values out of my arduino preferences. I think it is correct, but I plan to do the ifdef and error checks as outlined in the readme just in case.Just an FYI. Maybe documentation that might help others that want to try and do this.
Beta Was this translation helpful? Give feedback.
All reactions