networksgaq.blogg.se

Clp 310 firmware hack
Clp 310 firmware hack









Usually, color-correct mapping (blue to blue, green to green, yellow to yellow) works fine.

clp 310 firmware hack

If the motors do something, but don't rotate smooth and quietly, try to use an alternative phase mapping. If the board draws more than 100mA in idle, it's probably broken. Openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c flash "write_image erase build/hover.bin 0x8000000"įirst, check that power is connected and voltage is >36V while flashing. To unlock the flash, use the following OpenOCD command: If you never flashed your mainboard before, the STM is probably locked. To flash the STM32, use the ST-Flash utility ( ). Battery > 36V have to be connected while flashing. Make sure you hold the powerbutton or connect a jumper to the power button pins while flashing the firmware, as the STM might release the power latch and switches itself off during flashing. Connect GND, SWDIO and SWCLK to your SWD programmer, like the ST-Link found on many STM devboards.ĭo not power the mainboard from the 3.3V of your programmer! This has already killed multiple mainboards. Right to the STM32, there is a debugging header with GND, 3V3, SWDIO and SWCLK. ") (version 7 works, there is a version that does not!) (if the ons in linux repos do not work, use the official version: ). Make sure you have specified your gcc-arm-none-eabi binary location in the Makefile ("PREFIX =. The reverse-engineered schematics of the mainboard can be found here: They break out GND, 12/15V and USART2&3 of the Hoverboard mainboard.īoth USART2 & 3 can be used for UART and I2C, PA2&3 can be used as 12bit ADCs. The original Hardware supports two 4-pin cables that originally were connected to the two sensor boards.

clp 310 firmware hack clp 310 firmware hack

If possible, a prebuild firmware release is available for these usecases, so you don't need to compile the firmware yourself Here are detailed build instructions for some finished projects. If you want an overview of what you can do with this firmware, here is a ~40min video of a talk about this project: The firmware you can find here allows you to use your Hoverboard Hardware (like the Mainboard, Motors and Battery) for cool projects like driving armchairs, person-tracking transportation robots and every other application you can imagine that requires controlling the Motors.

clp 310 firmware hack

This repo contains open source firmware for generic Hoverboard Mainboards.











Clp 310 firmware hack