-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Board resets before compilation upon clicking upload #8146
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
Comments
I've noticed this issue as well, I think it has been present for quite some while (at least a year, probably more). |
W00ps |
Mmmmh, I don't think it happens on all boards, since the uploader explicitly waits for the compilation to end successfully before kicking in. Could it be related to serial monitor opening/closing? |
I suspect that something indeed opens the serial port when the compilation starts (closing the serial port / monitor should not cause a reset AFAIK). I can't remember if this only happens when the serial monitor is opened, but I think it happens even without the serial monitor opened. |
Instead I've never noticed this, could you post your setup so we can try to reproduce? In particular:
|
This was just referenced at It seems that, at least withy chinese nanos (both blue & black), resets occurs between compile and burn, after verification, and then again. BUT only iff the serial monitor is open. Also, both opening and closing the serial monitor trigger. |
currently, when clicking 'upload' the connected target board gets put into reset, then compillation begins.
in the event of compilation errors, the board was reset, but no upload took place.
a better solution would be to wait with resetting the target until it's positive that compiling/linking succeeded and new data can be uploaded.
The text was updated successfully, but these errors were encountered: