VESC

From Robot
Jump to: navigation, search

Contents

Information

Very detailed information is published on the site vedder.se.

Board version 4.10

Our five boards are version 4.10.
3D front.png

Board schematic is exported in File:Vesc-schema.pdf.

Silks are exported in File:Vesc-silks.pdf.

3D view is exported in File:3D.pdf

Compilation

I went step by step according the guide and was solving these issues. Following notes are valid for Fedora 23 64bit.

Firmware and bootloader

  • Package installation on Fedora:
sudo dnf install arm-none-eabi-gcc-cs-1:5.2.0-3.fc23.x86_64 openocd-0.9.0-2.fc23.x86_64
  • If you see following error during the compilation see the topic.
from ChibiOS_3.0.2/os/common/ports/ARMCMx/compilers/GCC/crt1.c:30:
/usr/lib/gcc/arm-none-eabi/5.2.0/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory

I solved it by installing newlib.

sudo dnf install arm-none-eabi-newlib-2.2.0_1-6.fc23.noarch
  • Firmware upload using OpenOCD doesn't work for me, so I flash it using ST-Link Utility in Windows. First, program firmware BLDC_4_ChibiOS.bin a then BLDC_Bootloader.hex. Bootloader is placed on the higher address in the flash and hex file holds the start address for flashing.

PC tool

  • Package installation on Fedora
sudo dnf install qt5-qtbase-devel-5.5.1-11.fc23.x86_64 qt5-qtserialport-devel-5.5.1-2.fc23.x86_64
  • Compilation
qmake-qt5
make

--Pokormat (talk) 17:34, 9 January 2016 (CET)

Personal tools