Skip to content
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

Clear the OLED upon download #4

Open
PropGit opened this issue Oct 24, 2018 · 3 comments
Open

Clear the OLED upon download #4

PropGit opened this issue Oct 24, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@PropGit
Copy link
Contributor

PropGit commented Oct 24, 2018

Update the micro boot loader to clear the OLED upon download. This solves the issue of the user thinking that the menu system (displayed on the OLED) is still valid during or after a download starts; it isn't.

@PropGit PropGit added the enhancement New feature or request label Oct 24, 2018
@PropGit PropGit self-assigned this Oct 24, 2018
@PropGit
Copy link
Contributor Author

PropGit commented Oct 24, 2018

@VonSzarvas - Do I remember right that the easiest (and best?) solution was to have the micro boot loader reset the OLED, effectively clearing it upon download operation?

@VonSzarvas
Copy link
Contributor

Pulse IO4 low for 10uS, then back to input, will clear OLED.
HOWEVER - I now don't recommend doing this at microloader for at least 2 reasons:

  1. Some oled drivers assert the OLED reset pin high. Whislt 10uS low "glitch" won't blow anything, it won't get the voltage logic level low enough either to perform the reset.

  2. It's handy to have text persist on the OLED sometimes ! Like when waiting for the bootloader to download/run the 3rd (and long) file.

Steps to solve the above:

ref 1. all drivers would need updating for oled so they don't drive RST high. I already did that with the BadgeWX bootloader sources for both Spin and C modules. Implementation is the the big deal- rather ensuring all users go with the latest driver.

ref 2. Improve the way ESP uploaded the badge code internally, to use the microloader method. Much much faster, and then having a blank screen wouldn't be a concern. Loading should be almost instant, and so having the microloader blank the OLED before each upload would then make sense.

@VonSzarvas
Copy link
Contributor

I vote this issue is closed for now, or filed under possible enhancements only!

VonSzarvas added a commit to VonSzarvas/BadgeWX that referenced this issue Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants