EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.12k stars 932 forks source link

VARIANT_UART and VARIANT_HOVERCAR do not start board #448

Closed VitaliySayfullin closed 10 months ago

VitaliySayfullin commented 10 months ago

Variant

ADC

Control type

FOC

Control mode

Voltage

What is the bug and how to reproduce it ?

Well, issue looks strage, but I've checked it on 2 boards with the same result. Boards are based on GD32F103RC chip. IDE uvision 5.36.0.0. Use default compiler version 5. Latest firmware from this git repo. VARIANT_ADC works just fine, I can start board with the Power button and can control wheels. No wheels - one low beep. But board does not react on power button if I upload VARIANT_USART (USART3 control and feedback) or VARIANT_HOVERCAR. No LED indication or error beeps. I tried to erase full chip with no luck. Situation looks very strange, it seems to me that I forgot something or misunderstood wiki.

Any ideas?

Candas1 commented 10 months ago

Hi,

Try the other ways to compile from the wiki.

VitaliySayfullin commented 10 months ago

Thank you! PlatformIO looks like the only way to upload firmware.