Skip to content

UDPI direct from pi gpio. #908

Answered by SpenceKonde
Yardie- asked this question in Q&A
Feb 3, 2023 · 6 comments · 6 replies
Discussion options

You must be logged in to vote

If it has a UART that can talk to the tinyAVR, serialUPDI (included with the core, as a python script, based on microchip's pymcuprog, >20x performance improvement vs the Microchip version, since as they admitted, they didn't make any attempt to optimize performance. I've seen the stock microchip code upload at like 100-200 bytes/second, due to a combination of poorly chosen defaults and USB latency, the 1/2-16 ms polling period that has to elapse for a round trip of information to get sent to the target and for the response that it sent to become visible to the computer - to reduce the processing burden on the PC, they delay checking USB devices, but on default options, there's a round t…

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@Yardie-
Comment options

@SpenceKonde
Comment options

Answer selected by Yardie-
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@SpenceKonde
Comment options

@Yardie-
Comment options

@Yardie-
Comment options

@SpenceKonde
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants