-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query re upload time #86
Comments
quick test with pymcuprog and a canned 16k hexfile takes 2.1 seconds (3.1 with verification) |
Thanks very much for that, I'm using an FTDI and the resistor, the upload speed is 115200. Is there anything I can do to improve ? |
Ah just noticed you mentioned pymcuprog, would it be better to use that? |
indeed. its maintained :) |
Ah, of course - sorry, in my haste I tested the native USB programming speed using a CNANO. Using the serialUPDI mechanism will be slower, but you should be able to go to ~500k baud. |
I have had some help from the PlatformIO IDE forum and I managed to get pymcuprog to work, but upload of the 11k bytes code takes a longish 3 minutes. The max -c parameter I can use which still initialises is 250k.... |
Hmmm, slow indeed - I think this is a function of the python serial send/receive, which needs some optimising, and could also be affected by the HW adapter's USB handling (whether its optimised for latency on single characters, or optimised to fill USB frames and get the best bandwidth). |
Hi, Just observing that my PyUPDI on an AVR4809 takes circa 30 seconds to upload an 11Kbyte program. Is this ok? It works, so no complaints, just seems a relatively long time. Thanks.
The text was updated successfully, but these errors were encountered: