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

openblt via CAN #6043

Closed
rusefillc opened this issue Feb 25, 2024 · 7 comments
Closed

openblt via CAN #6043

rusefillc opened this issue Feb 25, 2024 · 7 comments

Comments

@rusefillc
Copy link
Contributor

rusefillc commented Feb 25, 2024

So many openblt changes recently can we get 2chan and small-can-board firmware upload to work via OpenBLT CAN?

Not to be confused with ST-CAN #5882

@andreika-git
Copy link
Collaborator

It works!

Connected to CAN2 (PB5+PB13) the same way as for the ST bootloader (see #5882):
image

It requires some modifications to our openblt code (PR is getting ready). Also we need to somehow switch to "OpenBLT mode" (I used a USB connection and corresponding Console menu option for the switch).
The command line is as following:

BootCommander.exe -t=xcp_can -d=peak_pcanusb -c=0 -b=500000 -tid=667h -rid=7E1h rusefi_update.srec

The output is:
image

andreika-git added a commit to andreika-git/rusefi that referenced this issue Mar 8, 2024
andreika-git added a commit to andreika-git/rusefi that referenced this issue Mar 8, 2024
rusefillc pushed a commit that referenced this issue Mar 8, 2024
rusefillc pushed a commit that referenced this issue Mar 8, 2024
rusefillc pushed a commit that referenced this issue Mar 9, 2024
@rusefillc
Copy link
Contributor Author

TODO

  1. get working on proteus - PR into master if needed
  2. get working on small can board - PR into master if needed. I assume there is little change of flash shortage here?

@andreika-git
Copy link
Collaborator

@rusefillc On small can board, do we need OpenBLT on CAN1 or CAN2?

@rusefillc rusefillc pinned this issue Mar 11, 2024
@rusefillc
Copy link
Contributor Author

@andreika-git can1? But really whichever we can get working with least effort

andreika-git added a commit to andreika-git/rusefi that referenced this issue Mar 12, 2024
andreika-git added a commit to andreika-git/rusefi that referenced this issue Mar 12, 2024
andreika-git added a commit to andreika-git/rusefi that referenced this issue Mar 12, 2024
@andreika-git
Copy link
Collaborator

OpenBLT+CAN works on small-can-board (CAN1)!
We'll need to re-test it when the next official fw bundle will be ready for the small-can-board.

andreika-git added a commit to andreika-git/rusefi that referenced this issue Mar 12, 2024
rusefillc pushed a commit that referenced this issue Mar 12, 2024
rusefillc pushed a commit that referenced this issue Mar 12, 2024
rusefillc pushed a commit that referenced this issue Mar 12, 2024
@andreika-git
Copy link
Collaborator

Confirmed IT WORKS! with official GHA bundle on small-can-board (https://github.com/rusefi/rusefi/actions/runs/8250061030/artifacts/1318759510)

@rusefillc
Copy link
Contributor Author

Worked in NJ using master!

  • manually switch to BLT mode (which needs nicer red blinking on small-can-board @andreika-git )

image

@rusefillc rusefillc unpinned this issue May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants