betrusted-io / betrusted-soc

Betrusted main SoC design
Other
139 stars 21 forks source link

Implement power cycling while plugged in #4

Closed bunnie closed 3 years ago

bunnie commented 5 years ago

The system cannot actually be powered off while VBUS is active (plugged into a charger) (this is a feature not a bug).

However, we do create the "illusion" of being powered down in this state by cycling the screen into a UI state that reflects powered off. The power system needs to be refactored to also come out of power-down while plugged in (at the moment, it gets stuck in a screen-off UI state gutter, so the fix is probably just scanning the power-on key while in the power-off state and resetting the power bits when the power-on key is detected).

bunnie commented 3 years ago

this got mostly fixed with a UI change, and is relevant only to the validation firmware, which we are hoping to obsolete with Xous shortly. Closing the issue as a combination of wontfix/worksforme.