Open
Conversation
So that we can aeasily use the BPIO2 binary API using python Signed-off-by: Daniel Schaefer <dhs@frame.work>
`nix-shell` to get a shell to get them Signed-off-by: Daniel Schaefer <dhs@frame.work>
Wiring: BP5 IO4 (TX) --> EC CR_SIN1 (UART RX) BP5 IO5 (RX) <-- EC CR_SOUT1 (UART TX) BP5 IO6 --[4.7-10K R]--> EC CR_SOUT1/FLPRG1 (flash mode strap) BP5 IO7 --> EC VCC1_RST (reset, active low) BP5 GND --- EC GND Usage: ./buspirate_ctrl.py --reset # Toggle EC reset ./buspirate_ctrl.py --reset-hold # Hold EC in reset ./buspirate_ctrl.py --log # Print EC UART output (Ctrl+C to stop) ./buspirate_ctrl.py --log --reset # Reset EC, print boot log ./buspirate_ctrl.py --pty-bridge # PTY bridge (Ctrl+C to stop) ./buspirate_ctrl.py --pty-bridge --reset # Bridge, then reset (captures boot log) ./buspirate_ctrl.py --pty-bridge --enter-flash-mode # Bridge + enter flash mode ./buspirate_ctrl.py --flash ./result/ # Full flash workflow ./buspirate_ctrl.py --flash ./result/ --no-reset # Flash without reboot ./buspirate_ctrl.py --flash ./result/ --log # Flash, reset, print boot log Signed-off-by: Daniel Schaefer <dhs@frame.work>
06399ea to
4230730
Compare
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Uh oh!
There was an error while loading. Please reload this page.