You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the late reply. However, since MiniCore uses Optiboot, and you're facing an Optiboot-related issue, I'm closing this in favor of Optiboot/optiboot#334
This is a duplicate of Optiboot issue #334. I do not know which repository is the best for this discussion...
When connecting an Arduino pro mini to an HC-05, I was not able to upload a sketch reliably OTA.
The long story is there .
My solution was to patch the function
verifySpace()
inside Optiboot like this:So that, if there is noise on the line, Optiboot sends back STK_NOSYNC instead of resetting, allowing AVRDUDE to resynchronize nicely.
Doing that allows now for a very reliable OTA sketch upload.
As an added benefit, Optiboot is now 2 bytes smaller :)
Any comments?
Michel
The text was updated successfully, but these errors were encountered: