Hi guys i am currently repairing a flipsky vesc 6.6. The owner of the vesc could not solder to save himself and ended up burning the swd pads off the pcb trying to reflash firmware with stlink utility. This would never have worked anyway as i found the mcu was shorted. Im about to resolder a new stm32f405 onto the board so i want to make sure i get this right as there is no way to reprogram once its back on. Can i simply flash the VESC_default.bin file to the blank MCU and resolder it to the board or do i need to erase the chip and flash only the hex of a usb bootloader then reload the firmware through vesc tool? If anyone has the hex for the bootloader it would be greatly appreciated.
Yes, if you flash the "VESC_default.bin" firmware file this should include the bootloader, then you'll be able to upgrade the firmware via USB/UART afterwards.
awesome i wasnt sure if it included the bootloader or not
BTW that file doesn't include a bootloader, you need to manually flash it on using vesc tool after connecting via usb in vesc tool.