This file contains 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
hoverboard-firmware-hack-FOC>>git diff Src/bldc.c Makefile | |
diff --git a/Makefile b/Makefile | |
index 94b9a6a..1e6d40c 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -179,6 +179,9 @@ clean: | |
flash: | |
st-flash --reset write $(BUILD_DIR)/$(TARGET).bin 0x8000000 | |
+flash-at32: |
This file contains 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
## LEFT | |
# FETs OFF input=0 | |
LEFT IN(b_motEna:0 z_ctrlModReq:1 r_inpTgt: 0000 i_phaAB: 0893 i_phaBC: 0892 i_DCLink:-01) OUT(z_errCode:0 n_mot: 0000) | |
LEFT IN(b_motEna:0 z_ctrlModReq:1 r_inpTgt: 0000 i_phaAB: 0640 i_phaBC: 0639 i_DCLink: 00) OUT(z_errCode:0 n_mot: 0000) | |
LEFT IN(b_motEna:0 z_ctrlModReq:1 r_inpTgt: 0000 i_phaAB: 1008 i_phaBC: 1007 i_DCLink: 00) OUT(z_errCode:0 n_mot: 0000) | |
LEFT IN(b_motEna:0 z_ctrlModReq:1 r_inpTgt: 0000 i_phaAB: 0758 i_phaBC: 0758 i_DCLink: 00) OUT(z_errCode:0 n_mot: 0000) | |
LEFT IN(b_motEna:0 z_ctrlModReq:1 r_inpTgt: 0000 i_phaAB: 0497 i_phaBC: 0492 i_DCLink: 00) OUT(z_errCode:0 n_mot: 0000) | |
LEFT IN(b_motEna:0 z_ctrlModReq:1 r_inpTgt: 0000 i_phaAB: 0897 i_phaBC: 0895 i_DCLink: 00) OUT(z_errCode:0 n_mot: 0000) | |
LEFT IN(b_motEna:0 z_ctrlModReq:1 r_inpTgt: 0000 i_phaAB: 0643 i_phaBC: 0640 i_DCLink: 00) OUT(z_errCode:0 n_mot: 0000) |
This file contains 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
// |