Hoverboard Robotics Tutorial Part 2: Hacking the Control Board Firmware
Hoverboard Robotics Tutorial Part 2: Hacking the Control Board Firmware
In this video, I cover how to hack to the control board with new firmware so you can configure it to respond to a joystick or serial commands instead of its normal hoverboard behavior programmed at the factory.
*** LINKS FROM THE VIDEO ***
Niklas Fauth Firmware: https://github.com/NiklasFauth/hoverboard-firmware-hack
Niklas Fauth/Jan Henrik Moving Objects video: https://youtu.be/qnQSL9DBPaE
Emanuel Feru Firmware: https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC
********************************
*** Try These Chip Unlocking Commands ***
openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c “reset halt” -c “stm32f1x unlock 0”
openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c “reset halt” -c “mww 0x40022004 0x45670123” -c “mww 0x40022004 0xCDEF89AB” -c “mww 0x40022008 0x45670123” -c “mww 0x40022008 0xCDEF89AB” -c “mww 0x40022010 0x220” -c “mww 0x40022010 0x260” -c “sleep 100” -c “mww 0x40022010 0x230” -c “mwh 0x1ffff800 0x5AA5” -c “sleep 1000” -c “mww 0x40022010 0x2220” -c “sleep 100” -c “mdw 0x40022010” -c “mdw 0x4002201c” -c “mdw 0x1ffff800” -c targets -c “halt” -c “stm32f1x unlock 0”
openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c “reset halt” -c “mww 0x40022004 0x45670123” -c “mww 0x40022004 0xCDEF89AB” -c “mww 0x40022008 0x45670123” -c “mww 0x40022008 0xCDEF89AB” -c targets -c “halt” -c “stm32f1x unlock 0”
**********************************************
Practical Robotics in C++ : learn to build autonomous robots. Now available on Amazon in most markets, or the publisher’s web store!
Amazon U.S.: https://www.amazon.com/dp/9389423465/ref=cm_sw_em_r_mt_dp_NCC6DXJ1DTKR58CD3SV0
Barnes and Noble:
https://www.barnesandnoble.com/w/practical-robotics-in-c-lloyd-brombach/1138717434?ean=9789389423464
BPB Publications:
Practical Robotics in C++
Amazon Canada:
Amazon UK:
Amazon Germany:
Amazon Italy:
Amazon Mexico:
Amazon Japan:
Amazon Australia:
Practical Robotics in C++ teaches real autonomous robotics without the reader needing a university degree to follow the tutorials. Features the Raspberry Pi. Topics covered include:
– Choosing and setting up a computer for robotics
– Electronics for Robotics
– Buying, building, and hacking robots
– Motors: Different types, how to control them
– Communications with sensors and other devices
– Robot control theory and controller design
– Mapping and Autonomous Path-Planning
– Autonomous motion
– Robot tracking and localization
– Sensors for robotics
– Computer Vision
– Sensor Fusion
– Final project: Build and program a complete autonomous robot!
*****************************************************************************
by Practical Robotics
linux foundation