-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Uploading process stuck on Due if sketch is larger then 256KB and 'Verify code after upload' is set #5672
Comments
Hi @prasimix , If you enable the verbose output you should see the |
Thanks for quick response. How can I generate such verbose output file? I tried uploading (not just compiling) once again with selected both Show verbose output during: upload and Verify code after upload options and got the same problem. |
I tried with You can see that |
@mvladic @prasimix I may have an idea; how long is it taking the upload process? We recently added a check on the IDE to avoid stuck programmers instances which block the serial port (
If your upload takes more than 2 minutes it gets killed forcibly... On my PC it takes far less, but it could be OS dependant |
Yes, it takes more than 2 minutes. I tried again and upload blocked after exactly 2 minutes and 30 seconds. |
Ok, so we reached a corner case which I never thought it was possible to encounter, my bad. |
If 2 minutes is enough for 256KB, 4 minutes should be enough for 512KB :) |
An attempt to upload sketch on Due that is larger then 256KB cannot be completed if
Verify code after upload
option is selected:To reproduce this step, make sketch that is more then 256KB long or try this eez_psu_sketch where we noticed this bug, go to File... Preferences and select
Verify code after upload
option and start upload (Ctrl+U).I tested that with Arduino IDE 1.6.9 and 1.6.13 on Windows and Ubuntu with installed Arduino SAM boards (32-bits ARM cortex-M3) by Arduino package 1.6.9. Board is obviously Arduino Due.
The text was updated successfully, but these errors were encountered: