I have an odd behaviour in flashing the VESC (firmware version 2.18):
When I flash from the terminal, via stlink usb dongle, with ‘make upload’ I can see the changes I put in the code.
But
when I flash from the bldc tool, via usb, although the process looks
smooth and successful (I point the right bin file, click upload, and see
the progress bar reaching 100%), what I have is a VESC with a sort of
default firmware on it with no changes at all.
To be precise, as the bldc tool finishes to flash the VESC, the VESC does not reboot by itself as it should.
That’s most likely a sign of failed flashing but…why is that and what can I try to fix it?
You should not have tried to flash the VESC. It came preloaded with the firmware and bootloader. You may have corrupted the bootloader if you didn’t connect the st-link correctly.