Hello, first time posting.
As a recap, a buddy and myself have been attempting to program a VESC V7 PCB with an ST Link V2 bought from a nearby mouser. We have tried probably about 4 different sessions each with ultimately the same result, but different errors along the way. Here’s what I have so far…
[email protected]:~$ sudo apt-get install gcc-arm-none-eabi=188.8.131.525q2-1trusty1
Reading package lists… Done
Building dependency tree
Reading state information… Done E: Version ‘184.108.40.2065q2-1trusty1’ for ‘gcc-arm-none-eabi’ was not found
First Error 10:13 PM
[email protected]:~/BLDC/bldc-firmware$ make upload
arm-none-eabi-gcc -x assembler-with-cpp -c -mcpu=cortex-m4 -Wa,-amhls=build/lst/crt0_v7m.lst -DCORTEX_USE_FPU=TRUE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -MD -MP -MF .dep/crt0_v7m.o.d -I. -IChibiOS_3.0.2/os/common/ports/ARMCMx/devices/STM32F4xx -IChibiOS_3.0.2/os/ext/CMSIS/include -IChibiOS_3.0.2/os/ext/CMSIS/ST -IChibiOS_3.0.2/os/rt/include -IChibiOS_3.0.2/os/rt/ports/ARMCMx -IChibiOS_3.0.2/os/rt/ports/ARMCMx/compilers/GCC -IChibiOS_3.0.2/os/hal/osal/rt -IChibiOS_3.0.2/os/hal/include -IChibiOS_3.0.2/os/hal/ports/common/ARMCMx -IChibiOS_3.0.2/os/hal/ports/STM32/STM32F4xx -IChibiOS_3.0.2/os/hal/ports/STM32/LLD -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/DACv1 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/GPIOv2 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/I2Cv1 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/OTGv1 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/RTCv2 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/SPIv1 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/TIMv1 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/USARTv1 -IChibiOS_3.0.2/os/hal/ports/STM32/LLD/FSMCv1 -IChibiOS_3.0.2/os/hal/boards/ST_STM32F4_DISCOVERY -IChibiOS_3.0.2/os/various -IChibiOS_3.0.2/hal/lib/streams -Imcconf -Iappconf -Ihwconf -Iapplications -Inrf -IChibiOS_3.0.2/ext/stdperiph_stm32f4/inc ChibiOS_3.0.2/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s -o build/obj/crt0_v7m.o make: arm-none-eabi-gcc: Command not found make: *** [build/obj/crt0_v7m.o] Error 127
Second Error 10:19 PM
In BLDC Tool… Connect to ESC: Unknown Error
Third Error 10:22 PM
Followed instructions regarding toolchain compile for firmware. always have issues with the gcc-arm-none-eabi=220.127.116.115q2-1trusty13 or trusty14
I went through and cleaned out the repositories that involved gcc-arm-none-eabi=18.104.22.1685q2-1trusty13 and friends. I will be trying again this evening, however I would love to hear some input as to how I could be mucking this up so terribly. I know it’s very simple and a few times I have gotten it to connect, albiet “Connected, limited”.