-
Notifications
You must be signed in to change notification settings - Fork 253
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
Fix MacOS write error caused by unflushed buffer #150
base: master
Are you sure you want to change the base?
Conversation
I can confirm this helps and works on macOS 11.1 |
It also improves operations' speed in my Debian Testing |
Any news on merging this? @kaysievers just a nitpick you could add a commit summary describing the issues of failed flashing attempts. |
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]> Signed-off-by: Tianling Shen <[email protected]>
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
I could confirm that there is macos upload issue with bossac 1.9.1 . We have user report that we have to roll back to bossac 1.8 https://forums.adafruit.com/viewtopic.php?f=19&t=187831 |
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
bossa only waited 1ms for the serial device instead calling tcdrain(). Without this patch bossa is failing to flash a ATSAM3S4 8/10 times. Patch has been submitted as PR#150 upstream. shumatech/BOSSA#150 Signed-off-by: Alexander Couzens <[email protected]>
This replaces the current sleep() with the operating system's flush() call to write out the buffer.