Kambodia91 / Hoverboard-firmware-hack-FOC-MASTER-SLAVE

GNU General Public License v3.0
15 stars 2 forks source link

MM32SPIN0X mcu is supported now #4

Open AILIFE4798 opened 9 months ago

AILIFE4798 commented 9 months ago

Variant

USART

Control type

Commutation

Control mode

Speed

What can we do to make the firmware better?

i have made a firmware to run on the mm32spin directly so replacing the mcu is not necessary https://github.com/AILIFE4798/Hoverboard-Firmware-Hack-Gen2.x-MM32 maybe you can test it

Describe suggestions or alternatives you have considered

.

Kambodia91 commented 9 months ago

Good job. I was looking for an mm32 environment for IO platforms but I couldn't find anything. My soldering skills are greater than my programming skills. So I decided to replace the processor with stm32 for easier programming. I currently don't have a Board with mm32, unfortunately. but when I am forced to buy more boards, I will be happy to test the software.

AILIFE4798 commented 9 months ago

i am also a hardware guy, but someone said the gen2.x firmware is not gonna change the world so i have to make it work yes you have to use keil which is defnately not ideal but even the old gen2 board need it anyways a pair of master and slave mm32 board is just $2 i dont see why not get a bunch of them

AILIFE4798 commented 9 months ago

i just created the issue so people that dont know how to solder and not care about foc can have another choice

Kambodia91 commented 8 months ago

How to upload software to mm32? Are you using stlink? What program do you write the code in? Do you have an additional software upload program or do you use the same one and write code in it. Is there a configuration available like in stm32cubeIDE?

AILIFE4798 commented 8 months ago

i use stlink v2 clone to upload firmware i use pyocd to upload firmware i use keil v6 to compile firmware there is configuration file, but it will be obsolete in 1 month, because i am making fully automatic pin configurater firmware that will help program all the pinout in flash without user need to trace the pin of board manually and you can set all paremeters via serial after everything is configured you can flash normal firmware and it will read config from flash

AILIFE4798 commented 8 months ago

https://github.com/RoboDurden/Hoverboard-Firmware-Hack-Gen2.x/wiki/Flash-via-PYocd guide how to flash

AILIFE4798 commented 8 months ago

image